[PATCH] D41357: WIP: Fix Diagnostic layering, moving diagnostics out of Basic

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 13 13:49:41 PDT 2018


dblaikie updated this revision to Diff 138255.
dblaikie added a comment.

Actually move AllDiagnostics.h from Basic to FrontendTool and deal with the fallout for that.


Repository:
  rC Clang

https://reviews.llvm.org/D41357

Files:
  examples/clang-interpreter/CMakeLists.txt
  examples/clang-interpreter/main.cpp
  include/clang/ARCMigrate/ARCMT.h
  include/clang/Basic/AllDiagnostics.h
  include/clang/Basic/Diagnostic.h
  include/clang/Basic/DiagnosticCommonKinds.td
  include/clang/Basic/DiagnosticIDs.h
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/CrossTU/CrossTranslationUnit.h
  include/clang/Frontend/CompilerInstance.h
  include/clang/Frontend/LogDiagnosticPrinter.h
  include/clang/Frontend/SerializedDiagnosticPrinter.h
  include/clang/Frontend/TextDiagnosticPrinter.h
  include/clang/Frontend/Utils.h
  include/clang/FrontendTool/AllDiagnostics.h
  include/clang/FrontendTool/DiagnosticTable.h
  include/clang/module.modulemap
  lib/ARCMigrate/ARCMT.cpp
  lib/ARCMigrate/ARCMTActions.cpp
  lib/ARCMigrate/Internals.h
  lib/ARCMigrate/ObjCMT.cpp
  lib/ARCMigrate/PlistReporter.cpp
  lib/Basic/Diagnostic.cpp
  lib/Basic/DiagnosticIDs.cpp
  lib/Basic/Warnings.cpp
  lib/CrossTU/CrossTranslationUnit.cpp
  lib/Driver/Driver.cpp
  lib/Format/CMakeLists.txt
  lib/Format/TokenAnalyzer.cpp
  lib/Frontend/ChainedIncludesSource.cpp
  lib/Frontend/CompilerInstance.cpp
  lib/Frontend/CreateInvocationFromCommandLine.cpp
  lib/Frontend/LogDiagnosticPrinter.cpp
  lib/Frontend/Rewrite/FrontendActions.cpp
  lib/Frontend/SerializedDiagnosticPrinter.cpp
  lib/Frontend/TextDiagnosticPrinter.cpp
  lib/FrontendTool/CMakeLists.txt
  lib/FrontendTool/DiagnosticTable.cpp
  lib/Sema/Sema.cpp
  lib/Serialization/ASTReader.cpp
  lib/StaticAnalyzer/Core/CallEvent.cpp
  lib/StaticAnalyzer/Frontend/ModelInjector.cpp
  lib/Tooling/CMakeLists.txt
  lib/Tooling/CompilationDatabase.cpp
  lib/Tooling/Core/CMakeLists.txt
  lib/Tooling/Core/Replacement.cpp
  lib/Tooling/Refactoring.cpp
  lib/Tooling/Tooling.cpp
  tools/arcmt-test/CMakeLists.txt
  tools/arcmt-test/arcmt-test.cpp
  tools/c-index-test/CMakeLists.txt
  tools/c-index-test/core_main.cpp
  tools/clang-check/CMakeLists.txt
  tools/clang-format/CMakeLists.txt
  tools/clang-format/ClangFormat.cpp
  tools/clang-fuzzer/handle-cxx/CMakeLists.txt
  tools/clang-fuzzer/handle-cxx/handle_cxx.cpp
  tools/clang-import-test/CMakeLists.txt
  tools/clang-import-test/clang-import-test.cpp
  tools/clang-rename/ClangRename.cpp
  tools/diagtool/CMakeLists.txt
  tools/diagtool/DiagnosticNames.cpp
  tools/diagtool/FindDiagnosticID.cpp
  tools/diagtool/ListWarnings.cpp
  tools/diagtool/ShowEnabledWarnings.cpp
  tools/diagtool/TreeView.cpp
  tools/driver/cc1_main.cpp
  tools/driver/cc1as_main.cpp
  tools/driver/driver.cpp
  tools/libclang/ARCMigrate.cpp
  tools/libclang/CIndex.cpp
  tools/libclang/CIndexCodeCompletion.cpp
  tools/libclang/CIndexDiagnostic.cpp
  tools/libclang/CMakeLists.txt
  tools/libclang/CXStoredDiagnostic.cpp
  tools/libclang/Indexing.cpp
  unittests/AST/ASTVectorTest.cpp
  unittests/AST/CommentLexer.cpp
  unittests/AST/CommentParser.cpp
  unittests/AST/ExternalASTSourceTest.cpp
  unittests/Basic/CMakeLists.txt
  unittests/Basic/DiagnosticTest.cpp
  unittests/Basic/SourceManagerTest.cpp
  unittests/CodeGen/BufferSourceTest.cpp
  unittests/CodeGen/CMakeLists.txt
  unittests/CodeGen/CodeGenExternalTest.cpp
  unittests/CodeGen/IncrementalProcessingTest.cpp
  unittests/CodeGen/TBAAMetadataTest.cpp
  unittests/CrossTU/CrossTranslationUnitTest.cpp
  unittests/Driver/CMakeLists.txt
  unittests/Driver/ToolChainTest.cpp
  unittests/Format/CMakeLists.txt
  unittests/Frontend/ASTUnitTest.cpp
  unittests/Frontend/CodeGenActionTest.cpp
  unittests/Frontend/CompilerInstanceTest.cpp
  unittests/Frontend/FrontendActionTest.cpp
  unittests/Frontend/OutputStreamTest.cpp
  unittests/Frontend/PCHPreambleTest.cpp
  unittests/Lex/CMakeLists.txt
  unittests/Lex/HeaderSearchTest.cpp
  unittests/Lex/LexerTest.cpp
  unittests/Lex/PPCallbacksTest.cpp
  unittests/Lex/PPConditionalDirectiveRecordTest.cpp
  unittests/Rename/CMakeLists.txt
  unittests/Tooling/CMakeLists.txt
  unittests/Tooling/RewriterTestContext.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41357.138255.patch
Type: text/x-patch
Size: 160154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180313/41f3cba9/attachment-0001.bin>


More information about the cfe-commits mailing list