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.
1 parent d32f6ab commit 355c588Copy full SHA for 355c588
clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h
@@ -68,6 +68,12 @@ class SymExpr : public llvm::FoldingSetNode {
68
69
Kind getKind() const { return K; }
70
71
+ /// Get a unique identifier for this symbol.
72
+ /// The ID is unique across all SymExprs in a SymbolManager.
73
+ /// They reflect the allocation order of these SymExprs,
74
+ /// and are likely stable across runs.
75
+ /// Used as a key in SymbolRef containers and as part of identity
76
+ /// for SymbolData, e.g. SymbolConjured with ID = 7 is "conj_$7".
77
SymbolID getSymbolID() const { return Sym; }
78
79
virtual void dump() const;
0 commit comments