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.
Element.getFile
1 parent b4c979f commit bc0b876Copy full SHA for bc0b876
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