Vedant Kumar
5490afa6d8
[pp-trace] Update skipped source ranges in tests
...
Depends on D36642
llvm-svn: 312948
2017-09-11 20:47:45 +00:00
Erich Keane
5b767760e9
Update Append Argument to more efficiently traverse tokens
...
This function was previously making (correct) assumptions
without complete knowledge of MacroArgs guarantees for
Arguments. After going through Macro Args a bunch, I'd
corrected the getNumArguments (and changed its name),
however didn't realize this was depending on the behavior.
This patch has version that depends on the corrected
getNumMacroArguments's behavior, with the rest checked against
my knowledge of the MacroArgs' token list. Commiting no-wait
since the test is broken.
llvm-svn: 305434
2017-06-15 00:27:23 +00:00
Erich Keane
ad94b452f5
Update callbacks tracker to match change in 305425
...
llvm-svn: 305426
2017-06-14 23:15:51 +00:00
David Blaikie
5c4ec7cca4
Fix API breaks
...
llvm-svn: 301468
2017-04-26 20:58:03 +00:00
Eugene Zelenko
05f7e6ae0d
Fix Clang-tidy modernize-deprecated-headers warnings; other minor fixes.
...
Differential revision: http://reviews.llvm.org/D18231
llvm-svn: 263726
2016-03-17 17:02:25 +00:00
David Blaikie
e04a3da093
Revert "Apply modernize-use-default to clang-tools-extra."
...
Breaks the build in GCC 4.7.2 (see
http://lab.llvm.org:8011/builders/perf-x86_64-penryn-O3 for example)
This reverts commit r250824.
llvm-svn: 250862
2015-10-20 21:45:52 +00:00
Angel Garcia Gomez
3ca34bc870
Apply modernize-use-default to clang-tools-extra.
...
Summary: Replace empty bodies of default constructors and destructors with '= default'.
Reviewers: klimek
Subscribers: alexfh, cfe-commits
Differential Revision: http://reviews.llvm.org/D13889
llvm-svn: 250824
2015-10-20 12:56:27 +00:00
Craig Topper
45857d4b58
Make a bunch of static arrays const.
...
llvm-svn: 250641
2015-10-18 05:14:41 +00:00
Yaron Keren
40178c352e
Revert r241330. It compiled with Visual C++ 2013 and gcc 4.9.1 (mingw) but now fails the bots.
...
llvm-svn: 241335
2015-07-03 09:30:33 +00:00
Yaron Keren
452670165c
Replace some const std::string & with llvm::StringRef or std::string
...
and std::move to avoid implicit std::string construction.
Patch by Eugene Kosov.
llvm-svn: 241330
2015-07-03 09:16:20 +00:00
Rafael Espindola
d218565c04
Update for clang API change.
...
Patch by Косов Евгений.
llvm-svn: 238775
2015-06-01 20:00:20 +00:00
Nikola Smiljanic
90476a5d90
Fix misleading parameter name for PPCallbacks::FileSkipped.
...
Patch thanks to Vladimir Voskresensky.
llvm-svn: 237116
2015-05-12 11:48:21 +00:00
Richard Smith
33de8566f0
Update to match clang r236404.
...
llvm-svn: 236405
2015-05-04 03:15:55 +00:00
Benjamin Kramer
e71037123b
Make helpers static. clang-tools edition.
...
Also purge dead code found by it. NFC.
llvm-svn: 232948
2015-03-23 12:49:15 +00:00
Alp Toker
f77acce059
Track clang changes from r210758
...
llvm-svn: 210759
2014-06-12 10:16:11 +00:00
Alp Toker
9d63b5eb7f
Prospective build fix following clang r210518
...
llvm-svn: 210521
2014-06-10 09:58:45 +00:00
Craig Topper
f61be9c971
[C++11] Use 'nullptr'.
...
llvm-svn: 210447
2014-06-09 02:03:06 +00:00
Tobias Grosser
6c6af852f9
Add new 'remark' diagnostic type
...
llvm-svn: 202477
2014-02-28 09:42:12 +00:00
John Thompson
87f9fef5a5
Changed ConditionValue argument to PPCallbacks If and Elif callbacks to be a 3-state enum.
...
llvm-svn: 196648
2013-12-07 08:41:15 +00:00
John Thompson
c2d8a5c7f5
[extra] pp-trace - Fix for PragmaWarning output, adding tests for the pragma callbacks.
...
llvm-svn: 194636
2013-11-14 00:18:19 +00:00
John Thompson
c1a13f3f20
Fixed moduleImport and ident callbacks. Fixed modules test. Added ident callback test. A better test for moduleExport is coming.
...
llvm-svn: 194447
2013-11-12 03:12:18 +00:00
John Thompson
5252325990
[extra] pp-trace - Fixed problems found while writing docs.
...
llvm-svn: 194079
2013-11-05 14:16:11 +00:00
John Thompson
9979454e72
pp-trace - preprocessor tacing and PPCallbacks testing tool
...
llvm-svn: 193743
2013-10-31 12:23:32 +00:00