[PATCH] cpp11-migrate: Fix some headers and other coding style issues.

Guillaume Papin guillaume.papin at epitech.eu
Thu Jul 4 11:18:05 PDT 2013


Hi revane,

While reading the Core code I saw a few headers missing and some other things,
here are the changes I made:

- some headers were missing in Core for the .cpp files
- some headers were included but not necessary
- the CMakeLists.txt linked support for no apparent reason since it's already
  linked in the two CMakeLists.txt below in the hierarchy
- introduce a variable when looping on the transform instead of using (*I) and
  run clang-format on some lines
- StringRefisation of FileOverrides.h constructors.

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

Files:
  cpp11-migrate/AddOverride/AddOverride.cpp
  cpp11-migrate/CMakeLists.txt
  cpp11-migrate/Core/FileOverrides.cpp
  cpp11-migrate/Core/FileOverrides.h
  cpp11-migrate/Core/IncludeExcludeInfo.cpp
  cpp11-migrate/Core/IncludeExcludeInfo.h
  cpp11-migrate/Core/PerfSupport.cpp
  cpp11-migrate/Core/PerfSupport.h
  cpp11-migrate/Core/SyntaxCheck.cpp
  cpp11-migrate/Core/SyntaxCheck.h
  cpp11-migrate/Core/Transform.cpp
  cpp11-migrate/Core/Transform.h
  cpp11-migrate/Core/Transforms.cpp
  cpp11-migrate/Core/Transforms.h
  cpp11-migrate/LoopConvert/LoopConvert.cpp
  cpp11-migrate/ReplaceAutoPtr/ReplaceAutoPtr.cpp
  cpp11-migrate/ReplaceAutoPtr/ReplaceAutoPtrActions.cpp
  cpp11-migrate/ReplaceAutoPtr/ReplaceAutoPtrActions.h
  cpp11-migrate/ReplaceAutoPtr/ReplaceAutoPtrMatchers.cpp
  cpp11-migrate/UseNullptr/UseNullptr.cpp
  cpp11-migrate/tool/Cpp11Migrate.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1101.1.patch
Type: text/x-patch
Size: 18591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130704/a4435929/attachment.bin>


More information about the cfe-commits mailing list