]> granicus.if.org Git - clang/commit
Changed VarDecl::hasGlobalStorage() to be the negation of hasLocalStorage().
authorTed Kremenek <kremenek@apple.com>
Tue, 26 Feb 2008 21:57:11 +0000 (21:57 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 26 Feb 2008 21:57:11 +0000 (21:57 +0000)
commit9cae51aa5027dfb57bf1cc6b5fd1bdcec632aa14
treed59ead39ff40055290a3061bc77b163cb533c3f1
parent813733577d33ec56479667b49e1bff42dc6bba90
Changed VarDecl::hasGlobalStorage() to be the negation of hasLocalStorage().
Before it was the negation of hasAutoStorage(), which is incorrect.
"Register" storage for Decls do not indicate global variables.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47630 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h