c568f1e98938584c0ef0b12ae5018ff7d90a4072 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for rebase to r212749. This also fixes a small issue with arm_neon.h not being generated always. Includes a cherry-pick of: r213450 - fixes mac-specific header issue r213126 - removes a default -Bsymbolic on Android Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/tools/diagtool/DiagnosticNames.cpp
|
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for 3.5 rebase (r209713). Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/tools/diagtool/DiagnosticNames.cpp
|
3347b497157d36cf280d1d9f52956faa6e702f34 |
|
12-Nov-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Rather than duplicating extension diagnostics to allow them to cause a substitution failure, allow a flag to be set on the Diagnostic object, to mark it as 'causes substitution failure'. Refactor Diagnostic.td and the tablegen to use an enum for SFINAE behavior rather than a bunch of flags. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194444 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/DiagnosticNames.cpp
|
354f20a8720732aa1745d1ff9595382cee324ee2 |
|
29-Aug-2013 |
Craig Topper <craig.topper@gmail.com> |
Move individual group name strings from the OptionTable into one big char array. Then only store offsets into it in the OptionTable. Saves about 4K from the clang binary and removes 400 relocation entries from DiagnosticIDs.o. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/DiagnosticNames.cpp
|
b1aa16a18563ebb6824fbe7267420942c802a8ca |
|
28-Aug-2013 |
Craig Topper <craig.topper@gmail.com> |
Merge diagnostic group tables to reduce data size and relocation entries. The individual group and subgroups tables are now two large tables. The option table stores an index into these two tables instead of pointers. This reduces the size of the options tabe since it doesn't need to store pointers. It also reduces the number of relocations needed. My build shows this reducing DiagnosticsIDs.o and the clang binary by ~20.5K. It also removes ~400 relocation entries from DiagnosticIDs.o. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189438 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/DiagnosticNames.cpp
|
a5ef44ff5d93a3be6ca67782828157a71894cf0c |
|
11-Jul-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Enable comment parsing and semantic analysis to emit diagnostics. A few diagnostics implemented -- see testcases. I created a new TableGen file for comment diagnostics, DiagnosticCommentKinds.td, because comment diagnostics don't logically fit into AST diagnostics file. But I don't feel strongly about it. This also implements support for self-closing HTML tags in comment lexer and parser (for example, <br />). In order to issue precise diagnostics CommentSema needs to know the declaration the comment is attached to. There is no easy way to find a decl by comment, so we match comments and decls in lockstep: after parsing one declgroup we check if we have any new, not yet attached comments. If we do -- then we do the usual comment-finding process. It is interesting that this automatically handles trailing comments. We pick up not only comments that precede the declaration, but also comments that *follow* the declaration -- thanks to the lookahead in the lexer: after parsing the declgroup we've consumed the semicolon and looked ahead through comments. Added -Wdocumentation-html flag for semantic HTML errors to allow the user to disable only HTML warnings (but not HTML parse errors, which we emit as warnings in -Wdocumentation). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160078 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/DiagnosticNames.cpp
|
19bf662a7c5df007f2809ad3b6eb0a3985003e73 |
|
24-Jun-2012 |
Jordan Rose <jordan_rose@apple.com> |
[diagtool] Appease buildbots by explicitly using makeArrayRef. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/DiagnosticNames.cpp
|
e7427636767501903cfa51ccecafa7a4795a23c2 |
|
24-Jun-2012 |
Jordan Rose <jordan_rose@apple.com> |
[diagtool] Add a new "tree" command to shows warnings activated by a flag. % diagtool tree -Wunused-value -Wunused-value -Wunused-comparison warn_unused_comparison -Wunused-result warn_unused_result warn_unused_call warn_unused_container_subscript_expr warn_unused_expr warn_unused_property_expr warn_unused_voidptr git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159093 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/DiagnosticNames.cpp
|
0832f82f763185767d63ae4bf05021c5630c155f |
|
04-Jun-2012 |
Jordan Rose <jordan_rose@apple.com> |
[diagtool] Re-add show-enabled, minimizing the code pulled in from Frontend. Now correctly builds with both GNU make and CMake. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157932 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/DiagnosticNames.cpp
|
0a5ca3588df1cb9248ae299f7f5ac1434c0e4d8c |
|
02-Jun-2012 |
Jordan Rose <jordan_rose@apple.com> |
[diagtool] Pull show-enabled back out for now. Need to figure out how to get Frontend's warning parsing without bringing in all of Frontend. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157847 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/DiagnosticNames.cpp
|
f11b0f9a4e8d79f1bf59f4271f96d28b55bcc067 |
|
01-Jun-2012 |
Jordan Rose <jordan_rose@apple.com> |
[diagtool] Add 'show-enabled', which displays which warnings are enabled. show-enabled uses the command line you give it to build a CompilerInstance, so any flags you pass will be processed as if running clang proper. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157842 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/DiagnosticNames.cpp
|