[PATCH] clang-modernize: Remove -headers option

Edwin Vane edwin.vane at intel.com
Thu Sep 5 13:01:55 PDT 2013


Hi tareqsiraj, arielbernal, Sarcasm,

clang-modernize can now transform headers properly and the experimental
-headers option is no longer necessary.

Remember, at least -include is necessary for indicating which headers
are allowed to be changed.

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

Files:
  clang-modernize/Core/Transform.cpp
  clang-modernize/Core/Transform.h
  clang-modernize/tool/ClangModernize.cpp
  test/clang-modernize/HeaderReplacements/main.cpp
  test/clang-modernize/HeaderReplacements/no_yaml.cpp
  test/clang-modernize/ReplaceAutoPtr/basic.cpp
  test/clang-modernize/UseNullptr/Inputs/basic.h
  test/clang-modernize/UseNullptr/basic.cpp
  unittests/clang-modernize/TransformTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1610.1.patch
Type: text/x-patch
Size: 9662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130905/e5b94e32/attachment.bin>


More information about the cfe-commits mailing list