llvm-project/clang/unittests/Tooling
Alexander Kornienko 2745e17970 [Clang-Tidy] Preserve Message, FileOffset, FilePath in Clang-Tidy YAML output
Summary:
To get properly integration Clang-Tidy with CLion IDE, next things were implemented:
1) Preserve `Message`, `FileOffset`, `FilePath` in the clang-tidy output.
2) Export all diagnostics, not just the ones with fixes
3) Test-cases

Reviewers: klimek, ilya-biryukov, alexfh

Reviewed By: alexfh

Subscribers: alexfh, JDevlieghere, mgorny, xazax.hun, cfe-commits, klimek

Tags: #clang-tools-extra

Patch by Vladimir Plyashkun!

Differential Revision: https://reviews.llvm.org/D34404

llvm-svn: 308014
2017-07-14 10:37:44 +00:00
..
CMakeLists.txt [Clang-Tidy] Preserve Message, FileOffset, FilePath in Clang-Tidy YAML output 2017-07-14 10:37:44 +00:00
CastExprTest.cpp Make CastExpr::getSubExprAsWritten look through implicit temporary under CK_ConstructorConversion 2017-06-27 08:19:09 +00:00
CommentHandlerTest.cpp Remove 'Filename' parameter from BeginSourceFileAction. 2017-06-09 01:36:10 +00:00
CompilationDatabaseTest.cpp [Tooling] FixedCompilationDatabase should be able to strip positional 2017-06-29 10:43:44 +00:00
DiagnosticsYamlTest.cpp [Clang-Tidy] Preserve Message, FileOffset, FilePath in Clang-Tidy YAML output 2017-07-14 10:37:44 +00:00
FixItTest.cpp [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
LookupTest.cpp Added braces to work around gcc warning in googletest: suggest explicit braces to avoid ambiguous 'else'. NFC. 2017-06-15 21:01:24 +00:00
QualTypeNamesTest.cpp [Tooling] Add optional argument to getFullyQualifiedName to prepend "::". 2016-06-29 22:38:59 +00:00
RecursiveASTVisitorTest.cpp RecursiveASTVisitor should visit the nested name qualifiers in 2017-07-11 09:39:23 +00:00
RecursiveASTVisitorTestCallVisitor.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
RecursiveASTVisitorTestDeclVisitor.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
RecursiveASTVisitorTestExprVisitor.cpp Visit lambda capture inits from RecursiveASTVisitor::TraverseLambdaCapture(). 2016-08-17 14:59:53 +00:00
RecursiveASTVisitorTestTypeLocVisitor.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
RefactoringCallbacksTest.cpp Add ASTMatchRefactorer and ReplaceNodeWithTemplate to RefactoringCallbacks 2017-05-10 07:48:45 +00:00
RefactoringTest.cpp Fix ODR violations due to abuse of LLVM_YAML_IS_(FLOW_)?SEQUENCE_VECTOR 2017-06-30 20:57:39 +00:00
ReplacementTest.h clang-format: Separate out a language kind for ObjC. 2016-12-12 12:42:29 +00:00
ReplacementsYamlTest.cpp [clang-tidy] Add check name to YAML export 2017-01-03 14:35:47 +00:00
RewriterTest.cpp Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
RewriterTestContext.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
TestVisitor.h Switch TestVisitor to Lang_C via -x c 2017-06-27 07:59:56 +00:00
ToolingTest.cpp Remove 'Filename' parameter from BeginSourceFileAction. 2017-06-09 01:36:10 +00:00