[PATCH] cpp11-migrate: Replace file override container

Edwin Vane edwin.vane at intel.com
Wed Jun 12 13:04:50 PDT 2013


Hi tareqsiraj, arielbernal,

A more flexible container for storing overrides is required for headers.
Before a source goes through the transform pipeline, any headers it
references will be in their original state and unaffected by transforms
applied to other sources. Therefore overrides for headers need to be
kept separate for each source file.

This patch doesn't introduce support for storing header overrides yet.
It only replaces the existing structure and makes any necessary changes
to support it.

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

Files:
  cpp11-migrate/AddOverride/AddOverride.cpp
  cpp11-migrate/AddOverride/AddOverride.h
  cpp11-migrate/Core/CMakeLists.txt
  cpp11-migrate/Core/FileOverrides.cpp
  cpp11-migrate/Core/FileOverrides.h
  cpp11-migrate/Core/SyntaxCheck.cpp
  cpp11-migrate/Core/SyntaxCheck.h
  cpp11-migrate/Core/Transform.cpp
  cpp11-migrate/Core/Transform.h
  cpp11-migrate/LoopConvert/LoopConvert.cpp
  cpp11-migrate/LoopConvert/LoopConvert.h
  cpp11-migrate/UseAuto/UseAuto.cpp
  cpp11-migrate/UseAuto/UseAuto.h
  cpp11-migrate/UseNullptr/UseNullptr.cpp
  cpp11-migrate/UseNullptr/UseNullptr.h
  cpp11-migrate/tool/Cpp11Migrate.cpp
  unittests/cpp11-migrate/PerfSupportTest.cpp
  unittests/cpp11-migrate/TransformTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D964.1.patch
Type: text/x-patch
Size: 24881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130612/49ba9b1e/attachment.bin>


More information about the cfe-commits mailing list