diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-06-29 00:16:31 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-06-29 00:16:31 +0000 |
| commit | e5c5ee1cff9ec084f176fa252774262677857ad2 (patch) | |
| tree | b88d8b2d209033fe8d84aa0146281fd8573f4ccb /lib/CodeGen/CGExprScalar.cpp | |
| parent | 3ff30c8e6eaf995c0f969890b48cab15bae4d519 (diff) | |
| download | clang-e5c5ee1cff9ec084f176fa252774262677857ad2.tar.gz clang-e5c5ee1cff9ec084f176fa252774262677857ad2.tar.bz2 clang-e5c5ee1cff9ec084f176fa252774262677857ad2.tar.xz | |
Make ProcessDeclAttributes walk the declarator structure pulling
decl attributes out of the various places they can hide. This makes
us correctly reject things like this:
t.c:2:22: error: mode attribute only supported for integer and floating-point types
int **__attribute((mode(HI)))* i32;
^
because you can't make a pointer be HImode.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions
