summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/ParseAST.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-04-14 08:05:55 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-04-14 08:05:55 +0000
commit389325715b3b63f0a6080489a48111960b172d2b (patch)
treef9777790f86e0d65e4e0ff0f727ebf18ff383b86 /clang/lib/Sema/ParseAST.cpp
parent81a3f1bdf31c1db98d8db1bec2de91c17aac77b6 (diff)
downloadbcm5719-llvm-389325715b3b63f0a6080489a48111960b172d2b.tar.gz
bcm5719-llvm-389325715b3b63f0a6080489a48111960b172d2b.zip
Refactor how attributes are set on values.
- Pull out SetCommonAttributes, which handles the things common to aliases, methods, functions, and variables. - Pull out SetLLVMFunctionAttributesForDefinition, which handles the LLVM attributes which we only want to apply to a definition (like noinline and alwaysinline). - Kill SetGVDeclarationAttributes (inlined into SetFunctionAttributes and specialized). - Kill SetFunctionAttributesForDefinition (inlined into sole caller). - Inline SetGVDefinitionAttributes into SetMethodAttributes and specialize. - Rename SetGVDefinitionAttributes to SetFunctionDefinitionAttributes. This is supposed to be a no functionality change commit, but I may have made a mistake. llvm-svn: 69036
Diffstat (limited to 'clang/lib/Sema/ParseAST.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud