]> granicus.if.org Git - clang/commit
Make FunctionDecl::doesDeclarationForceExternallyVisibleDefinition use the same logic...
authorEli Friedman <eli.friedman@gmail.com>
Tue, 7 Feb 2012 03:50:18 +0000 (03:50 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 7 Feb 2012 03:50:18 +0000 (03:50 +0000)
commita3b9fa2024accdc38e0c8458b5ffd6b5ec0580d5
tree24eb2d618b7728a1ea0074367e79bcf947366112
parenta6215b93c45ee5931536b57d10b987747143313b
Make FunctionDecl::doesDeclarationForceExternallyVisibleDefinition use the same logic as FunctionDecl::isInlineDefinitionExternallyVisible to figure out whether to emit a definition.  Based on work by Anton Yartsev.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149963 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp
test/CodeGen/inline.c