[PATCH] Add option to disable module loading.

Lawrence Crowl crowl at google.com
Wed Jun 12 12:39:19 PDT 2013


Hi doug.gregor,

This patch adds an option to disable module loading.  The intent is that the module maps are all still interpreted, but the AST files are not read or written.

The intent is to enable header inclusion testing when merged with the module private header patch.

This patch is incomplete, as it does not provide any documentation.  The intent is to get feedback on the direction.

http://llvm-reviews.chandlerc.com/D963

Files:
  lib/Parse/Parser.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Sema/SemaCodeComplete.cpp
  lib/Lex/PPDirectives.cpp
  lib/Lex/Preprocessor.cpp
  test/Modules/noload.cpp
  test/Modules/Inputs/private0/common.h
  test/Modules/Inputs/private1/private1.h
  test/Modules/Inputs/private1/module.map
  test/Modules/Inputs/private1/public1.h
  test/Modules/Inputs/private2/module.map
  test/Modules/Inputs/private2/private2.h
  test/Modules/Inputs/private2/public2.h
  include/clang/Driver/Options.td
  include/clang/Basic/LangOptions.def
  include/clang/Basic/DiagnosticCommonKinds.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D963.1.patch
Type: text/x-patch
Size: 9644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130612/ad0b3ca5/attachment.bin>


More information about the cfe-commits mailing list