[PATCH] D55463: Introduce a source minimizer that reduces source to directives that might affect the dependency list for a compilation

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 20 16:00:29 PDT 2019


arphaman updated this revision to Diff 200371.
arphaman marked 8 inline comments as done.
arphaman added a comment.

- Added diagnostic support.
- Fixed the issue with C++14 number separators.
- Other fixes requested by @Bigcheese .


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55463/new/

https://reviews.llvm.org/D55463

Files:
  clang/include/clang/Basic/DiagnosticLexKinds.td
  clang/include/clang/Driver/CC1Options.td
  clang/include/clang/Frontend/FrontendActions.h
  clang/include/clang/Frontend/FrontendOptions.h
  clang/include/clang/Lex/DependencyDirectivesSourceMinimizer.h
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/lib/Frontend/FrontendActions.cpp
  clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
  clang/lib/Lex/CMakeLists.txt
  clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp
  clang/test/Frontend/minimize_source_to_dependency_directives.c
  clang/test/Lexer/minimize_source_to_dependency_directives_at_import_extra_tokens.m
  clang/test/Lexer/minimize_source_to_dependency_directives_at_import_missing_semi.m
  clang/test/Lexer/minimize_source_to_dependency_directives_invalid_macro_name.c
  clang/unittests/Lex/CMakeLists.txt
  clang/unittests/Lex/DependencyDirectivesSourceMinimizerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55463.200371.patch
Type: text/x-patch
Size: 54154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190520/6b538e83/attachment-0001.bin>


More information about the cfe-commits mailing list