summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-01-13 21:42:39 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-01-13 21:42:39 +0000
commit48ccbb61b6ff12d5565181b62ca1d52cfa6a982b (patch)
tree060933d0f8e373afddfadb107fd5c8e46ad46a0e /lib/CodeGen/CodeGenFunction.cpp
parent6c7a44feb4b47ebf9fd94b33879b4df6ccc7c48b (diff)
downloadclang-48ccbb61b6ff12d5565181b62ca1d52cfa6a982b.tar.gz
clang-48ccbb61b6ff12d5565181b62ca1d52cfa6a982b.tar.bz2
clang-48ccbb61b6ff12d5565181b62ca1d52cfa6a982b.tar.xz
When determining the attribute's parsed kind, pay attention to the syntax used. This fixes bugs where an attribute has differing GNU and Declspec spellings, but they are treated as the same. Eg) __declspec(aligned) when it should be __attribute__((aligned)), and __attribute__((align)) when it should be __declspec(align).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions