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 | 58418ffa32a0eeacfe59fab70449bbcef7c5680a (patch) | |
tree | 13cb99c43793794f7649ecaf1482ca293865647b /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 2727d1b221d70f742afac0fa5dbaf445b14eb56c (diff) | |
download | llvm-58418ffa32a0eeacfe59fab70449bbcef7c5680a.zip llvm-58418ffa32a0eeacfe59fab70449bbcef7c5680a.tar.gz llvm-58418ffa32a0eeacfe59fab70449bbcef7c5680a.tar.bz2 |
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.
llvm-svn: 52876
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions