diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2014-01-13 21:42:39 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2014-01-13 21:42:39 +0000 |
| commit | 48ccbb61b6ff12d5565181b62ca1d52cfa6a982b (patch) | |
| tree | 060933d0f8e373afddfadb107fd5c8e46ad46a0e /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 6c7a44feb4b47ebf9fd94b33879b4df6ccc7c48b (diff) | |
| download | clang-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
