aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/ConvertUTF.c
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
commit7c65e990e9f0dafaf9adbc59b766dcc23eaee845 (patch)
treeb077648fbb7c0085690f5296b72fa20aee9505a5 /lib/Basic/ConvertUTF.c
parent55d6f50b23a1fd0a04b568787a25beb7537e6c9b (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/ConvertUTF.c')
0 files changed, 0 insertions, 0 deletions