History log of /external/clang/tools/diagtool/ListWarnings.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f59edb96b2d0bfe612b732f19519ab84bb995bd4 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort #include lines for tools/...

Completely automated with sort_includes.py

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/ListWarnings.cpp
a437b84765d6b98d57f2789435ad641f1dd61474 07-Jul-2012 Ted Kremenek <kremenek@apple.com> Enhance 'diagtool list-warnings' to report number of diagnostics covered directly under -Wpedantic, and enhance warning-flags.c test to test that this set does not grow.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159893 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/ListWarnings.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/ListWarnings.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/ListWarnings.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/ListWarnings.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/ListWarnings.cpp
6c44886ed05d7804bfd7b80857b81fd3477079f6 15-Feb-2012 David Blaikie <dblaikie@gmail.com> Provide common include for all diagnostic headers.

Reviewed by Ted Kremenek.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/ListWarnings.cpp
ceb15656fbab9ee1da319afa4934b8f6a5964758 15-Feb-2012 David Blaikie <dblaikie@gmail.com> Remove the unuseful -fdiagnostics-show-name

This option was added in r129614 and doesn't have any use case that I'm aware
of. It's possible that external tools are using these names - and if that's
the case we can certainly reassess the functionality, but for now it lets us
shave out a few unneeded bits from clang.

Move the "StaticDiagNameIndex" table into the only remaining consumer, diagtool.
This removes the actual diagnostic name strings from clang entirely.

Reviewed by Chris Lattner & Ted Kremenek.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150612 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/ListWarnings.cpp
d6471f7c1921c7802804ce3ff6fe9768310f72b9 26-Sep-2011 David Blaikie <dblaikie@gmail.com> Rename Diagnostic to DiagnosticsEngine as per issue 5397


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/ListWarnings.cpp
83f06e8223291cd8dabe94d0cbfd0553121d5a44 12-Aug-2011 Nick Lewycky <nicholas@mxc.ca> The diagtool registration system tries to use a global variable from a method
called on another global variable. Use ManagedStatic to ensure that the global
we register with actually exists when we need it.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137406 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/ListWarnings.cpp
2dc651dfd4a4497c39b862e060200d6d58f5c4ec 09-Aug-2011 Ted Kremenek <kremenek@apple.com> Add 'diagtool' to the 'tools/' directory. diagtool is a new tool (WIP) for analyzing and working with clang diagnostics.

Some interesting stats from 'diagtool list-warnings' on the current version of clang:

Percentage of warnings with flags: 48.79%
Number of unique flags: 148
Average number of diagnostics per flag: 2.041

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137109 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/diagtool/ListWarnings.cpp