]> granicus.if.org Git - clang/commit
Switch CodeGen's "is this variable declaration a definition?" logic
authorDouglas Gregor <dgregor@apple.com>
Sat, 6 Feb 2010 05:15:45 +0000 (05:15 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 6 Feb 2010 05:15:45 +0000 (05:15 +0000)
commita9a55c063e9e59c6ab0a6d7a21302660f7bde9f9
tree7e97e89ccfa8c8d855625403ae6cea06e29e73a3
parentaec2523ab2c91413ef2f66dc944d0d6ac6a58abe
Switch CodeGen's "is this variable declaration a definition?" logic
over to VarDecl::isThisDeclarationADefinition(), which handles
variables declared with linkage specifications better (among other
things). CMake 2.9 (from CVS) now builds with clang++ and is somewhat
functional.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95486 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CXX/dcl.dcl/dcl.link/p7.cpp [new file with mode: 0644]