diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-08-15 00:03:46 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-08-15 00:03:46 +0000 |
commit | 85786be8e179ffc5955df41e33bcd37a46f366c8 (patch) | |
tree | 5ea0c741ffc0d4706958ab94472a6247575c54d3 /llvm/lib/Support/SmallPtrSet.cpp | |
parent | 22c7993ecf9146a79b7a164a27900002d2832749 (diff) | |
download | llvm-85786be8e179ffc5955df41e33bcd37a46f366c8.zip llvm-85786be8e179ffc5955df41e33bcd37a46f366c8.tar.gz llvm-85786be8e179ffc5955df41e33bcd37a46f366c8.tar.bz2 |
Added the following utility methods to VarDecl that provide
canonicalized queries of a variable's storage:
hasAutoStorage - Does a variable have (implicit) auto storage?
hasStaticStorage - Does a variable have (implicit) static storage?
hasLocalStorage - Is the variable a non-static local variable?
hasGlobalStorage - Is the variable a global variable or a static
local variable?
Additional comments documenting these functions are included in the
source.
llvm-svn: 41092
Diffstat (limited to 'llvm/lib/Support/SmallPtrSet.cpp')
0 files changed, 0 insertions, 0 deletions