Andy Gibbs
|
5ebac2ac9d
Provide -verify support to match "any" line for diagnostics in included files.
|
11 жил өмнө |
Craig Topper
|
d24fb6c947
[C++11] Use 'nullptr'. Frontend edition.
|
11 жил өмнө |
Tobias Grosser
|
0d40b638c5
Support 'remark' in VerifyDiagnosticConsumer
|
11 жил өмнө |
Nico Weber
|
33d678865e
Don't leak _all_ directives in -verify mode. Found by LSan, PR19520.
|
11 жил өмнө |
Nico Weber
|
9a68097040
Don't leak invalid RegexDirectives. Probably a small part of PR19520.
|
11 жил өмнө |
Craig Topper
|
85bba31eb7
[C++11] Add 'override' keyword to virtual methods that override their base class.
|
11 жил өмнө |
Alp Toker
|
da46e89f75
Revert "Don't require -re suffix on -verify directives with regexes."
|
11 жил өмнө |
Hans Wennborg
|
52baba31ba
Don't require -re suffix on -verify directives with regexes.
|
11 жил өмнө |
Hans Wennborg
|
277c2adbe3
Use llvm::Regex::Escape in VerifyDiagnosticConsumer.cpp
|
11 жил өмнө |
Hans Wennborg
|
1f993631af
Change semantics of regex expectations in the diagnostic verifier
|
11 жил өмнө |
Alp Toker
|
0fb7888788
Fix a tranche of comment, test and doc typos
|
11 жил өмнө |
Eli Friedman
|
d2f9308220
Make Preprocessor::Lex non-recursive.
|
12 жил өмнө |
Eli Friedman
|
24146975f1
Split isFromMainFile into two functions.
|
12 жил өмнө |
Lawrence Crowl
|
bc3f628815
This patch adds new private headers to the module map. Private
|
12 жил өмнө |
Douglas Gregor
|
cc2b653c31
Remove DiagnosticConsumer::clone(), a bad idea that is now unused.
|
12 жил өмнө |
Douglas Gregor
|
a4a90cabfa
When building a module, forward diagnostics to the outer diagnostic consumer.
|
12 жил өмнө |
Andy Gibbs
|
b42f200777
Extended VerifyDiagnosticConsumer to also verify source file for diagnostic.
|
12 жил өмнө |
Jordan Rose
|
3f6f51e282
Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h.
|
12 жил өмнө |
Chandler Carruth
|
55fc873017
Sort all of Clang's files under 'lib', and fix up the broken headers
|
12 жил өмнө |
Andy Gibbs
|
266dba3661
Change VerifyDiagnosticConsumer so that it *must* contain at least one "expected-*" directive. As a result, for test-cases that are not expected to generate any diagnostics, an additional directive "expected-no-diagnostics" has been implemented which can then be included in such test-cases. This new directive may not be used in conjunction with any other "expected-*" directive.
|
13 жил өмнө |
Andy Gibbs
|
4a529d26d6
Fix directive parsing in VerifyDiagnosticConsumer so that it ensures that "expected" is at the start of the word and will no longer accept typos such as "junkexpected-*" as a valid "expected-*" directive. A very few test-cases had to be amended to adhere to the new rule.
|
13 жил өмнө |
Jordan Rose
|
7eaaa186d1
Allow -verify to be used with files that don't have an associated FileEntry.
|
13 жил өмнө |
Joerg Sonnenberger
|
7094dee95f
Add missing cctype includes.
|
13 жил өмнө |
Jordan Rose
|
7c304f56ee
Update VerifyDiagnosticConsumer to only get directives during parsing.
|
13 жил өмнө |
Jordan Rose
|
78541c4330
Allow -verify directives to be filtered by preprocessing.
|
13 жил өмнө |
Jordan Rose
|
c6d64a26c2
Emit -verify diagnostics even when we have a fatal error.
|
13 жил өмнө |
Axel Naumann
|
e445e5d637
Clear diagnostic counts after processing the diagnostics.
|
13 жил өмнө |
Jordan Rose
|
3b81b7d604
Allow -verify directives to specify a min and max count, not just "+".
|
13 жил өмнө |
Jordan Rose
|
aa48fe80a1
Allow line numbers on -verify directives.
|
13 жил өмнө |
Jordan Rose
|
4313c013c6
Clean up VerifyDiagnosticsConsumer in preparation for upcoming enhancements.
|
13 жил өмнө |