diff options
| author | Edwin Vane <edwin.vane@intel.com> | 2013-07-08 12:17:37 +0000 |
|---|---|---|
| committer | Edwin Vane <edwin.vane@intel.com> | 2013-07-08 12:17:37 +0000 |
| commit | aae33677f503c1215b97059c07f3a31d00cce4a2 (patch) | |
| tree | 2163610b221476c464458eae5d1c20e2f2237ee9 /clang-tools-extra/cpp11-migrate/Core/Transform.h | |
| parent | 0b900831688d358421a63fd8f6d24602a0a61a5e (diff) | |
| download | bcm5719-llvm-aae33677f503c1215b97059c07f3a31d00cce4a2.tar.gz bcm5719-llvm-aae33677f503c1215b97059c07f3a31d00cce4a2.zip | |
cpp11-migrate: Tidying up
* Some file headers were missing for files in Core/
* Some headers were included but not necessary
* CMakeLists.txt was linking in LLVMSupport even though CMakeLists in subdirs
were linking it in too.
* StringRefisation of constructors of types in FileOverrides.h
* Other misc cleanups
Author: Guillaume Papin <guillaume.papin@epitech.eu>
llvm-svn: 185811
Diffstat (limited to 'clang-tools-extra/cpp11-migrate/Core/Transform.h')
| -rw-r--r-- | clang-tools-extra/cpp11-migrate/Core/Transform.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/clang-tools-extra/cpp11-migrate/Core/Transform.h b/clang-tools-extra/cpp11-migrate/Core/Transform.h index e273cf68c64..26462db7fe1 100644 --- a/clang-tools-extra/cpp11-migrate/Core/Transform.h +++ b/clang-tools-extra/cpp11-migrate/Core/Transform.h @@ -1,4 +1,4 @@ -//===-- cpp11-migrate/Transform.h - Transform Base Class Def'n --*- C++ -*-===// +//===-- Core/Transform.h - Transform Base Class Def'n -----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -8,15 +8,14 @@ //===----------------------------------------------------------------------===// /// /// \file -/// \brief This file provides the definition for the base Transform class from +/// \brief This file provides the declaration for the base Transform class from /// which all transforms must subclass. /// //===----------------------------------------------------------------------===// -#ifndef LLVM_TOOLS_CLANG_TOOLS_EXTRA_CPP11_MIGRATE_TRANSFORM_H -#define LLVM_TOOLS_CLANG_TOOLS_EXTRA_CPP11_MIGRATE_TRANSFORM_H -#include <string> -#include <vector> +#ifndef CPP11_MIGRATE_TRANSFORM_H +#define CPP11_MIGRATE_TRANSFORM_H + #include "Core/IncludeExcludeInfo.h" #include "Core/FileOverrides.h" #include "clang/Tooling/Refactoring.h" @@ -24,6 +23,8 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/Timer.h" +#include <string> +#include <vector> /// \brief Description of the riskiness of actions that can be taken by /// transforms. @@ -223,4 +224,4 @@ private: unsigned DeferredChanges; }; -#endif // LLVM_TOOLS_CLANG_TOOLS_EXTRA_CPP11_MIGRATE_TRANSFORM_H +#endif // CPP11_MIGRATE_TRANSFORM_H |

