We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 218c2a5 + bc0b876 commit 7807804Copy full SHA for 7807804
cpp/ql/lib/semmle/code/cpp/Element.qll
@@ -87,6 +87,7 @@ class ElementBase extends @element {
87
*/
88
class Element extends ElementBase {
89
/** Gets the primary file where this element occurs. */
90
+ pragma[nomagic]
91
File getFile() { result = this.getLocation().getFile() }
92
93
/**
0 commit comments