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 | 87ce144920a4f9c4cc8d6b021b1d759d7785317c (patch) | |
tree | 99d6cbe7e533276640c41586f867d140276315e2 /CodeGen/CodeGenModule.cpp | |
parent | 6a2394c4eaa87580f44f49205e5ca8aba628bdd8 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions