aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-11-01 18:07:13 +0000
committerSean Callanan <scallanan@apple.com>2011-11-01 18:07:13 +0000
commitc1b732d7820e2d14fc6ce72d1113eb688fee95a5 (patch)
tree345d22f024821b8e1b51cd849fa2aeea8ca78fc8 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parentca5524b00b968f167c08f1544c085fd32b972753 (diff)
downloadllvm-c1b732d7820e2d14fc6ce72d1113eb688fee95a5.zip
llvm-c1b732d7820e2d14fc6ce72d1113eb688fee95a5.tar.gz
llvm-c1b732d7820e2d14fc6ce72d1113eb688fee95a5.tar.bz2
Added the capability (turned off for now) to mark a
method as __attribute__ ((used)) when adding it to a class. This functionality is useful when stopped in anonymous namespaces: expressions attached to classes in anonymous namespaces are typically elided by Clang's CodeGen because they have no namespaces are intended not to be externally visible. __attribute__ ((used)) forces CodeGen to emit the function. Right now, __attribute__ ((used)) causes the JIT not to emit the function, so we're not enabling it until we fix that. llvm-svn: 143469
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions