diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2021-03-09 14:52:59 -0500 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2021-03-09 14:57:00 -0500 |
commit | 8bb8d65e167dceb659211468fd44df5da17e0785 (patch) | |
tree | af0e9b602e7d233fd027ded682211234e0c2c9e9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d6394d86cadf20f09cba9c013bfccc277f565212 (diff) | |
download | llvm-8bb8d65e167dceb659211468fd44df5da17e0785.zip llvm-8bb8d65e167dceb659211468fd44df5da17e0785.tar.gz llvm-8bb8d65e167dceb659211468fd44df5da17e0785.tar.bz2 |
Move some attribute diagnostic helper functions; NFC.
These functions were local to SemaDeclAttr.cpp, but these functions are
useful in general (for instance, for statement or type attribute
processing). This refactoring is in advance of beginning to tablegen
diagnostic checks for statement attributes the way we already do for
declaration attributes.
There is one functional change in here as a drive-by. The
external_source_symbol attribute had one of its diagnostic checks
inside of an assert, which was corrected.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions