Richard Smith
d9259c2f5e
Remove 'Filename' parameter from BeginSourceFileAction.
...
No-one was using this, and it's not meaningful in general -- FrontendActions
can be run on inputs that don't have a corresponding source file. The current
frontend input can be obtained by asking the FrontendAction if any future
action actually needs it.
llvm-svn: 305045
2017-06-09 01:36:10 +00:00
David Blaikie
e438127b91
Wdeprecated: CommentVerifiers are returned by value, make sure they're correctly copy/moveable
...
llvm-svn: 244958
2015-08-13 21:24:08 +00:00
Alexander Kornienko
34eb20725d
Use 'override/final' instead of 'virtual' for overridden methods
...
Summary:
The patch is generated using clang-tidy misc-use-override check.
This command was used:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
-checks='-*,misc-use-override' -header-filter='llvm|clang' -j=32 -fix
Reviewers: dblaikie
Reviewed By: dblaikie
Subscribers: klimek, cfe-commits
Differential Revision: http://reviews.llvm.org/D8926
llvm-svn: 234678
2015-04-11 02:00:23 +00:00
Craig Topper
416fa34b87
[C++11] Use 'nullptr'. Unittests edition.
...
llvm-svn: 210423
2014-06-08 08:38:12 +00:00
Richard Smith
87d8fb91e9
Add testing for CommentHandler, and fix a bug where trailing comments in #else
...
and #endif in non-skipped blocks were not passed to the CommentHandler. Patch
by Andy Gibbs!
llvm-svn: 159119
2012-06-24 23:56:26 +00:00