[PATCH] D39050: Add index-while-building support to Clang

Nathan Hawes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 6 19:24:36 PST 2017


nathawes updated this revision to Diff 121833.
nathawes added a comment.

Based on @arphaman's feedback:

- Pulled the index store related diagnostics out into their own category/diagnostic group
- Removed the CLANG_PROJECT_INDEX_PATH env var check.
- Swapped "/" used in a few places as a separator/root with the equivalent llvm::sys::path call.
- Fixed the typo/convention/documentation issues and simplifications pointed out so far


https://reviews.llvm.org/D39050

Files:
  include/clang/Basic/AllDiagnostics.h
  include/clang/Basic/CMakeLists.txt
  include/clang/Basic/Diagnostic.td
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticIDs.h
  include/clang/Basic/DiagnosticIndexKinds.td
  include/clang/Driver/Job.h
  include/clang/Driver/Options.td
  include/clang/Frontend/CompilerInstance.h
  include/clang/Frontend/FrontendOptions.h
  include/clang/Index/IndexDataStoreSymbolUtils.h
  include/clang/Index/IndexDiagnostic.h
  include/clang/Index/IndexRecordWriter.h
  include/clang/Index/IndexUnitWriter.h
  include/clang/Index/IndexingAction.h
  include/clang/module.modulemap
  include/indexstore/indexstore.h
  lib/Basic/DiagnosticIDs.cpp
  lib/Driver/Driver.cpp
  lib/Driver/Job.cpp
  lib/Driver/ToolChains/Clang.cpp
  lib/Driver/ToolChains/Darwin.cpp
  lib/Frontend/CompilerInstance.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/FrontendTool/CMakeLists.txt
  lib/FrontendTool/ExecuteCompilerInvocation.cpp
  lib/Index/BitstreamVisitor.h
  lib/Index/CMakeLists.txt
  lib/Index/ClangIndexRecordWriter.cpp
  lib/Index/ClangIndexRecordWriter.h
  lib/Index/FileIndexRecord.cpp
  lib/Index/FileIndexRecord.h
  lib/Index/IndexDataStore.cpp
  lib/Index/IndexDataStoreUtils.cpp
  lib/Index/IndexDataStoreUtils.h
  lib/Index/IndexRecordHasher.cpp
  lib/Index/IndexRecordHasher.h
  lib/Index/IndexRecordWriter.cpp
  lib/Index/IndexUnitWriter.cpp
  lib/Index/IndexingAction.cpp
  lib/Index/IndexingContext.cpp
  lib/Index/IndexingContext.h
  test/Index/Store/assembly-invocation.c
  test/Index/Store/record-hash-using.cpp
  test/Index/Store/record-hash.cpp
  test/Index/Store/relative-out-path.c
  tools/diagtool/DiagnosticNames.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39050.121833.patch
Type: text/x-patch
Size: 158146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171107/dd247df1/attachment-0001.bin>


More information about the cfe-commits mailing list