summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-05-20 14:10:53 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-05-20 14:10:53 +0000
commit8a04753c6cdec5c45f84d38eaf33f9b6121b7d14 (patch)
tree9ba793d942261c192b1a39136d70fba42cae5073 /lib/CodeGen/CGExprAgg.cpp
parentb46eb10258c61d1253c6bdf64836ebbb73877d19 (diff)
downloadclang-8a04753c6cdec5c45f84d38eaf33f9b6121b7d14.tar.gz
clang-8a04753c6cdec5c45f84d38eaf33f9b6121b7d14.tar.bz2
clang-8a04753c6cdec5c45f84d38eaf33f9b6121b7d14.tar.xz
None of these attributes require FunctionTemplate to be explicitly listed as part of their subject definition. FunctionTemplateDecls are not what the attribute appertains to in the first place -- it attaches to the underlying FunctionDecl.
The attribute emitter was using FunctionTemplate to map the diagnostic to "functions or methods", but that isn't a particularly clear diagnostic in these cases anyway (since they do not apply to ObjC methods). Updated the attribute emitter to remove custom logic for FunctionTemplateDecl, and updated the test cases for the change in diagnostic wording. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209209 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions