diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-02-26 21:57:11 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-02-26 21:57:11 +0000 |
| commit | 9cae51aa5027dfb57bf1cc6b5fd1bdcec632aa14 (patch) | |
| tree | d59ead39ff40055290a3061bc77b163cb533c3f1 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 813733577d33ec56479667b49e1bff42dc6bba90 (diff) | |
| download | clang-9cae51aa5027dfb57bf1cc6b5fd1bdcec632aa14.tar.gz clang-9cae51aa5027dfb57bf1cc6b5fd1bdcec632aa14.tar.bz2 clang-9cae51aa5027dfb57bf1cc6b5fd1bdcec632aa14.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
