Update the header guards for clang-modernize.
llvm-svn: 189973
This commit is contained in:
		
							parent
							
								
									13654dd303
								
							
						
					
					
						commit
						35c0361783
					
				| 
						 | 
					@ -15,8 +15,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_ADD_OVERRIDE_H
 | 
					#ifndef CLANG_MODERNIZE_ADD_OVERRIDE_H
 | 
				
			||||||
#define CPP11_MIGRATE_ADD_OVERRIDE_H
 | 
					#define CLANG_MODERNIZE_ADD_OVERRIDE_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/Transform.h"
 | 
					#include "Core/Transform.h"
 | 
				
			||||||
#include "llvm/Support/Compiler.h"
 | 
					#include "llvm/Support/Compiler.h"
 | 
				
			||||||
| 
						 | 
					@ -42,4 +42,4 @@ private:
 | 
				
			||||||
  AddOverrideFixer *Fixer;
 | 
					  AddOverrideFixer *Fixer;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_ADD_OVERRIDE_H
 | 
					#endif // CLANG_MODERNIZE_ADD_OVERRIDE_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_ADD_OVERRIDE_ACTIONS_H
 | 
					#ifndef CLANG_MODERNIZE_ADD_OVERRIDE_ACTIONS_H
 | 
				
			||||||
#define CPP11_MIGRATE_ADD_OVERRIDE_ACTIONS_H
 | 
					#define CLANG_MODERNIZE_ADD_OVERRIDE_ACTIONS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
 | 
					#include "clang/ASTMatchers/ASTMatchFinder.h"
 | 
				
			||||||
#include "clang/Tooling/Refactoring.h"
 | 
					#include "clang/Tooling/Refactoring.h"
 | 
				
			||||||
| 
						 | 
					@ -42,4 +42,4 @@ private:
 | 
				
			||||||
  Transform &Owner;
 | 
					  Transform &Owner;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_ADD_OVERRIDE_ACTIONS_H
 | 
					#endif // CLANG_MODERNIZE_ADD_OVERRIDE_ACTIONS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_ADD_OVERRIDE_MATCHERS_H
 | 
					#ifndef CLANG_MODERNIZE_ADD_OVERRIDE_MATCHERS_H
 | 
				
			||||||
#define CPP11_MIGRATE_ADD_OVERRIDE_MATCHERS_H
 | 
					#define CLANG_MODERNIZE_ADD_OVERRIDE_MATCHERS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchers.h"
 | 
					#include "clang/ASTMatchers/ASTMatchers.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -25,4 +25,4 @@ extern const char *MethodId;
 | 
				
			||||||
/// candidates for adding the override attribute.
 | 
					/// candidates for adding the override attribute.
 | 
				
			||||||
clang::ast_matchers::DeclarationMatcher makeCandidateForOverrideAttrMatcher();
 | 
					clang::ast_matchers::DeclarationMatcher makeCandidateForOverrideAttrMatcher();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_ADD_OVERRIDE_MATCHERS_H
 | 
					#endif // CLANG_MODERNIZE_ADD_OVERRIDE_MATCHERS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_CUSTOMMATCHERS_H
 | 
					#ifndef CLANG_MODERNIZE_CUSTOMMATCHERS_H
 | 
				
			||||||
#define CPP11_MIGRATE_CUSTOMMATCHERS_H
 | 
					#define CLANG_MODERNIZE_CUSTOMMATCHERS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchers.h"
 | 
					#include "clang/ASTMatchers/ASTMatchers.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -56,4 +56,4 @@ AST_MATCHER(Decl, isFromStdNamespace) {
 | 
				
			||||||
} // namespace ast_matchers
 | 
					} // namespace ast_matchers
 | 
				
			||||||
} // namespace clang
 | 
					} // namespace clang
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_CUSTOMMATCHERS_H
 | 
					#endif // CLANG_MODERNIZE_CUSTOMMATCHERS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_FILE_OVERRIDES_H
 | 
					#ifndef CLANG_MODERNIZE_FILE_OVERRIDES_H
 | 
				
			||||||
#define CPP11_MIGRATE_FILE_OVERRIDES_H
 | 
					#define CLANG_MODERNIZE_FILE_OVERRIDES_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/Refactoring.h"
 | 
					#include "Core/Refactoring.h"
 | 
				
			||||||
#include "clang-apply-replacements/Tooling/ApplyReplacements.h"
 | 
					#include "clang-apply-replacements/Tooling/ApplyReplacements.h"
 | 
				
			||||||
| 
						 | 
					@ -126,4 +126,4 @@ bool generateReplacementsFileName(const llvm::StringRef MainSourceFile,
 | 
				
			||||||
                                  llvm::SmallVectorImpl<char> &Result,
 | 
					                                  llvm::SmallVectorImpl<char> &Result,
 | 
				
			||||||
                                  llvm::SmallVectorImpl<char> &Error);
 | 
					                                  llvm::SmallVectorImpl<char> &Error);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_FILE_OVERRIDES_H
 | 
					#endif // CLANG_MODERNIZE_FILE_OVERRIDES_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_INCLUDE_DIRECTIVES_H
 | 
					#ifndef CLANG_MODERNIZE_INCLUDE_DIRECTIVES_H
 | 
				
			||||||
#define CPP11_MIGRATE_INCLUDE_DIRECTIVES_H
 | 
					#define CLANG_MODERNIZE_INCLUDE_DIRECTIVES_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/Basic/SourceLocation.h"
 | 
					#include "clang/Basic/SourceLocation.h"
 | 
				
			||||||
#include "clang/Tooling/Refactoring.h"
 | 
					#include "clang/Tooling/Refactoring.h"
 | 
				
			||||||
| 
						 | 
					@ -138,4 +138,4 @@ private:
 | 
				
			||||||
  HeaderToGuardMap HeaderToGuard;
 | 
					  HeaderToGuardMap HeaderToGuard;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_INCLUDE_DIRECTIVES_H
 | 
					#endif // CLANG_MODERNIZE_INCLUDE_DIRECTIVES_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_INCLUDEEXCLUDEINFO_H
 | 
					#ifndef CLANG_MODERNIZE_INCLUDEEXCLUDEINFO_H
 | 
				
			||||||
#define CPP11_MIGRATE_INCLUDEEXCLUDEINFO_H
 | 
					#define CLANG_MODERNIZE_INCLUDEEXCLUDEINFO_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "llvm/ADT/StringRef.h"
 | 
					#include "llvm/ADT/StringRef.h"
 | 
				
			||||||
#include "llvm/Support/system_error.h"
 | 
					#include "llvm/Support/system_error.h"
 | 
				
			||||||
| 
						 | 
					@ -53,4 +53,4 @@ private:
 | 
				
			||||||
  std::vector<std::string> ExcludeList;
 | 
					  std::vector<std::string> ExcludeList;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_INCLUDEEXCLUDEINFO_H
 | 
					#endif // CLANG_MODERNIZE_INCLUDEEXCLUDEINFO_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_PERFSUPPORT_H
 | 
					#ifndef CLANG_MODERNIZE_PERFSUPPORT_H
 | 
				
			||||||
#define CPP11_MIGRATE_PERFSUPPORT_H
 | 
					#define CLANG_MODERNIZE_PERFSUPPORT_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Transform.h"
 | 
					#include "Transform.h"
 | 
				
			||||||
#include "llvm/ADT/StringRef.h"
 | 
					#include "llvm/ADT/StringRef.h"
 | 
				
			||||||
| 
						 | 
					@ -54,4 +54,4 @@ void writePerfDataJSON(
 | 
				
			||||||
/// Dump a SourcePerfData map to llvm::errs().
 | 
					/// Dump a SourcePerfData map to llvm::errs().
 | 
				
			||||||
extern void dumpPerfData(const SourcePerfData &Data);
 | 
					extern void dumpPerfData(const SourcePerfData &Data);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_PERFSUPPORT_H
 | 
					#endif // CLANG_MODERNIZE_PERFSUPPORT_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_REPLACEMENTS_VEC_H
 | 
					#ifndef CLANG_MODERNIZE_REPLACEMENTS_VEC_H
 | 
				
			||||||
#define CPP11_MIGRATE_REPLACEMENTS_VEC_H
 | 
					#define CLANG_MODERNIZE_REPLACEMENTS_VEC_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/Tooling/Refactoring.h"
 | 
					#include "clang/Tooling/Refactoring.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,4 +28,4 @@ typedef std::vector<clang::tooling::Replacement> ReplacementsVec;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_REPLACEMENTS_VEC_H
 | 
					#endif // CLANG_MODERNIZE_REPLACEMENTS_VEC_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_REFORMATTING_H
 | 
					#ifndef CLANG_MODERNIZE_REFORMATTING_H
 | 
				
			||||||
#define CPP11_MIGRATE_REFORMATTING_H
 | 
					#define CLANG_MODERNIZE_REFORMATTING_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/Refactoring.h"
 | 
					#include "Core/Refactoring.h"
 | 
				
			||||||
#include "clang/Format/Format.h"
 | 
					#include "clang/Format/Format.h"
 | 
				
			||||||
| 
						 | 
					@ -57,4 +57,4 @@ private:
 | 
				
			||||||
  clang::format::FormatStyle Style;
 | 
					  clang::format::FormatStyle Style;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_REFORMATTING_H
 | 
					#endif // CLANG_MODERNIZE_REFORMATTING_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_SYNTAX_CHECK_H
 | 
					#ifndef CLANG_MODERNIZE_SYNTAX_CHECK_H
 | 
				
			||||||
#define CPP11_MIGRATE_SYNTAX_CHECK_H
 | 
					#define CLANG_MODERNIZE_SYNTAX_CHECK_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <string>
 | 
					#include <string>
 | 
				
			||||||
#include <vector>
 | 
					#include <vector>
 | 
				
			||||||
| 
						 | 
					@ -35,4 +35,4 @@ extern bool doSyntaxCheck(const clang::tooling::CompilationDatabase &Database,
 | 
				
			||||||
                          const std::vector<std::string> &SourcePaths,
 | 
					                          const std::vector<std::string> &SourcePaths,
 | 
				
			||||||
                          const FileOverrides &Overrides);
 | 
					                          const FileOverrides &Overrides);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_SYNTAX_CHECK_H
 | 
					#endif // CLANG_MODERNIZE_SYNTAX_CHECK_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_TRANSFORM_H
 | 
					#ifndef CLANG_MODERNIZE_TRANSFORM_H
 | 
				
			||||||
#define CPP11_MIGRATE_TRANSFORM_H
 | 
					#define CLANG_MODERNIZE_TRANSFORM_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/IncludeExcludeInfo.h"
 | 
					#include "Core/IncludeExcludeInfo.h"
 | 
				
			||||||
#include "Core/Refactoring.h"
 | 
					#include "Core/Refactoring.h"
 | 
				
			||||||
| 
						 | 
					@ -341,4 +341,4 @@ protected:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef llvm::Registry<TransformFactory> TransformFactoryRegistry;
 | 
					typedef llvm::Registry<TransformFactory> TransformFactoryRegistry;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_TRANSFORM_H
 | 
					#endif // CLANG_MODERNIZE_TRANSFORM_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_TRANSFORMS_H
 | 
					#ifndef CLANG_MODERNIZE_TRANSFORMS_H
 | 
				
			||||||
#define CPP11_MIGRATE_TRANSFORMS_H
 | 
					#define CLANG_MODERNIZE_TRANSFORMS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "llvm/Support/CommandLine.h"
 | 
					#include "llvm/Support/CommandLine.h"
 | 
				
			||||||
#include "llvm/ADT/StringRef.h"
 | 
					#include "llvm/ADT/StringRef.h"
 | 
				
			||||||
| 
						 | 
					@ -79,4 +79,4 @@ private:
 | 
				
			||||||
  OptionMap Options;
 | 
					  OptionMap Options;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_TRANSFORMS_H
 | 
					#endif // CLANG_MODERNIZE_TRANSFORMS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_LOOP_ACTIONS_H
 | 
					#ifndef CLANG_MODERNIZE_LOOP_ACTIONS_H
 | 
				
			||||||
#define CPP11_MIGRATE_LOOP_ACTIONS_H
 | 
					#define CLANG_MODERNIZE_LOOP_ACTIONS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "StmtAncestor.h"
 | 
					#include "StmtAncestor.h"
 | 
				
			||||||
#include "Core/Transform.h"
 | 
					#include "Core/Transform.h"
 | 
				
			||||||
| 
						 | 
					@ -102,4 +102,4 @@ class LoopFixer : public clang::ast_matchers::MatchFinder::MatchCallback {
 | 
				
			||||||
                                              const clang::ForStmt *TheLoop);
 | 
					                                              const clang::ForStmt *TheLoop);
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_LOOP_ACTIONS_H
 | 
					#endif // CLANG_MODERNIZE_LOOP_ACTIONS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_LOOP_CONVERT_H
 | 
					#ifndef CLANG_MODERNIZE_LOOP_CONVERT_H
 | 
				
			||||||
#define CPP11_MIGRATE_LOOP_CONVERT_H
 | 
					#define CLANG_MODERNIZE_LOOP_CONVERT_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/Transform.h"
 | 
					#include "Core/Transform.h"
 | 
				
			||||||
#include "llvm/Support/Compiler.h" // For LLVM_OVERRIDE
 | 
					#include "llvm/Support/Compiler.h" // For LLVM_OVERRIDE
 | 
				
			||||||
| 
						 | 
					@ -33,4 +33,4 @@ public:
 | 
				
			||||||
                    const std::vector<std::string> &SourcePaths) LLVM_OVERRIDE;
 | 
					                    const std::vector<std::string> &SourcePaths) LLVM_OVERRIDE;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_LOOP_CONVERT_H
 | 
					#endif // CLANG_MODERNIZE_LOOP_CONVERT_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,8 +16,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_LOOP_MATCHERS_H
 | 
					#ifndef CLANG_MODERNIZE_LOOP_MATCHERS_H
 | 
				
			||||||
#define CPP11_MIGRATE_LOOP_MATCHERS_H
 | 
					#define CLANG_MODERNIZE_LOOP_MATCHERS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchers.h"
 | 
					#include "clang/ASTMatchers/ASTMatchers.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -39,4 +39,4 @@ clang::ast_matchers::StatementMatcher makeArrayLoopMatcher();
 | 
				
			||||||
clang::ast_matchers::StatementMatcher makeIteratorLoopMatcher();
 | 
					clang::ast_matchers::StatementMatcher makeIteratorLoopMatcher();
 | 
				
			||||||
clang::ast_matchers::StatementMatcher makePseudoArrayLoopMatcher();
 | 
					clang::ast_matchers::StatementMatcher makePseudoArrayLoopMatcher();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_LOOP_MATCHERS_H
 | 
					#endif // CLANG_MODERNIZE_LOOP_MATCHERS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_STMT_ANCESTOR_H
 | 
					#ifndef CLANG_MODERNIZE_STMT_ANCESTOR_H
 | 
				
			||||||
#define CPP11_MIGRATE_STMT_ANCESTOR_H
 | 
					#define CLANG_MODERNIZE_STMT_ANCESTOR_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/AST/RecursiveASTVisitor.h"
 | 
					#include "clang/AST/RecursiveASTVisitor.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -198,4 +198,4 @@ private:
 | 
				
			||||||
  bool VisitTypeLoc(clang::TypeLoc TL);
 | 
					  bool VisitTypeLoc(clang::TypeLoc TL);
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_STMT_ANCESTOR_H
 | 
					#endif // CLANG_MODERNIZE_STMT_ANCESTOR_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_VARIABLE_NAMING_H
 | 
					#ifndef CLANG_MODERNIZE_VARIABLE_NAMING_H
 | 
				
			||||||
#define CPP11_MIGRATE_VARIABLE_NAMING_H
 | 
					#define CLANG_MODERNIZE_VARIABLE_NAMING_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "StmtAncestor.h"
 | 
					#include "StmtAncestor.h"
 | 
				
			||||||
#include "clang/AST/ASTContext.h"
 | 
					#include "clang/AST/ASTContext.h"
 | 
				
			||||||
| 
						 | 
					@ -56,4 +56,4 @@ class VariableNamer {
 | 
				
			||||||
  bool declarationExists(llvm::StringRef Symbol);
 | 
					  bool declarationExists(llvm::StringRef Symbol);
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_VARIABLE_NAMING_H
 | 
					#endif // CLANG_MODERNIZE_VARIABLE_NAMING_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_PASS_BY_VALUE_H
 | 
					#ifndef CLANG_MODERNIZE_PASS_BY_VALUE_H
 | 
				
			||||||
#define CPP11_MIGRATE_PASS_BY_VALUE_H
 | 
					#define CLANG_MODERNIZE_PASS_BY_VALUE_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/Transform.h"
 | 
					#include "Core/Transform.h"
 | 
				
			||||||
#include "Core/IncludeDirectives.h"
 | 
					#include "Core/IncludeDirectives.h"
 | 
				
			||||||
| 
						 | 
					@ -71,4 +71,4 @@ private:
 | 
				
			||||||
  ConstructorParamReplacer *Replacer;
 | 
					  ConstructorParamReplacer *Replacer;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_PASS_BY_VALUE_H
 | 
					#endif // CLANG_MODERNIZE_PASS_BY_VALUE_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_PASS_BY_VALUE_ACTIONS_H
 | 
					#ifndef CLANG_MODERNIZE_PASS_BY_VALUE_ACTIONS_H
 | 
				
			||||||
#define CPP11_MIGRATE_PASS_BY_VALUE_ACTIONS_H
 | 
					#define CLANG_MODERNIZE_PASS_BY_VALUE_ACTIONS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
 | 
					#include "clang/ASTMatchers/ASTMatchFinder.h"
 | 
				
			||||||
#include "clang/Tooling/Refactoring.h"
 | 
					#include "clang/Tooling/Refactoring.h"
 | 
				
			||||||
| 
						 | 
					@ -71,4 +71,4 @@ private:
 | 
				
			||||||
  IncludeDirectives *IncludeManager;
 | 
					  IncludeDirectives *IncludeManager;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_PASS_BY_VALUE_ACTIONS_H
 | 
					#endif // CLANG_MODERNIZE_PASS_BY_VALUE_ACTIONS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
					#ifndef CLANG_MODERNIZE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
				
			||||||
#define CPP11_MIGRATE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
					#define CLANG_MODERNIZE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchers.h"
 | 
					#include "clang/ASTMatchers/ASTMatchers.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -41,4 +41,4 @@ extern const char *PassByValueInitializerId;
 | 
				
			||||||
/// \endcode
 | 
					/// \endcode
 | 
				
			||||||
clang::ast_matchers::DeclarationMatcher makePassByValueCtorParamMatcher();
 | 
					clang::ast_matchers::DeclarationMatcher makePassByValueCtorParamMatcher();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
					#endif // CLANG_MODERNIZE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_REPLACE_AUTO_PTR_H
 | 
					#ifndef CLANG_MODERNIZE_REPLACE_AUTO_PTR_H
 | 
				
			||||||
#define CPP11_MIGRATE_REPLACE_AUTO_PTR_H
 | 
					#define CLANG_MODERNIZE_REPLACE_AUTO_PTR_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/Transform.h"
 | 
					#include "Core/Transform.h"
 | 
				
			||||||
#include "llvm/Support/Compiler.h"
 | 
					#include "llvm/Support/Compiler.h"
 | 
				
			||||||
| 
						 | 
					@ -52,4 +52,4 @@ public:
 | 
				
			||||||
                    const std::vector<std::string> &SourcePaths) LLVM_OVERRIDE;
 | 
					                    const std::vector<std::string> &SourcePaths) LLVM_OVERRIDE;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_REPLACE_AUTO_PTR_H
 | 
					#endif // CLANG_MODERNIZE_REPLACE_AUTO_PTR_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_REPLACE_AUTO_PTR_ACTIONS_H
 | 
					#ifndef CLANG_MODERNIZE_REPLACE_AUTO_PTR_ACTIONS_H
 | 
				
			||||||
#define CPP11_MIGRATE_REPLACE_AUTO_PTR_ACTIONS_H
 | 
					#define CLANG_MODERNIZE_REPLACE_AUTO_PTR_ACTIONS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
 | 
					#include "clang/ASTMatchers/ASTMatchFinder.h"
 | 
				
			||||||
#include "clang/Tooling/Refactoring.h"
 | 
					#include "clang/Tooling/Refactoring.h"
 | 
				
			||||||
| 
						 | 
					@ -96,4 +96,4 @@ private:
 | 
				
			||||||
  Transform &Owner;
 | 
					  Transform &Owner;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_REPLACE_AUTO_PTR_ACTIONS_H
 | 
					#endif // CLANG_MODERNIZE_REPLACE_AUTO_PTR_ACTIONS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
					#ifndef CLANG_MODERNIZE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
				
			||||||
#define CPP11_MIGRATE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
					#define CLANG_MODERNIZE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchers.h"
 | 
					#include "clang/ASTMatchers/ASTMatchers.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -61,4 +61,4 @@ clang::ast_matchers::DeclarationMatcher makeAutoPtrUsingDeclMatcher();
 | 
				
			||||||
/// \endcode
 | 
					/// \endcode
 | 
				
			||||||
clang::ast_matchers::StatementMatcher makeTransferOwnershipExprMatcher();
 | 
					clang::ast_matchers::StatementMatcher makeTransferOwnershipExprMatcher();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
					#endif // CLANG_MODERNIZE_REPLACE_AUTO_PTR_MATCHERS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,8 +15,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_USE_AUTO_H
 | 
					#ifndef CLANG_MODERNIZE_USE_AUTO_H
 | 
				
			||||||
#define CPP11_MIGRATE_USE_AUTO_H
 | 
					#define CLANG_MODERNIZE_USE_AUTO_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/Transform.h"
 | 
					#include "Core/Transform.h"
 | 
				
			||||||
#include "llvm/Support/Compiler.h"
 | 
					#include "llvm/Support/Compiler.h"
 | 
				
			||||||
| 
						 | 
					@ -39,4 +39,4 @@ public:
 | 
				
			||||||
                    const std::vector<std::string> &SourcePaths) LLVM_OVERRIDE;
 | 
					                    const std::vector<std::string> &SourcePaths) LLVM_OVERRIDE;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_USE_AUTO_H
 | 
					#endif // CLANG_MODERNIZE_USE_AUTO_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_USE_AUTO_ACTIONS_H
 | 
					#ifndef CLANG_MODERNIZE_USE_AUTO_ACTIONS_H
 | 
				
			||||||
#define CPP11_MIGRATE_USE_AUTO_ACTIONS_H
 | 
					#define CLANG_MODERNIZE_USE_AUTO_ACTIONS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/Transform.h"
 | 
					#include "Core/Transform.h"
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
 | 
					#include "clang/ASTMatchers/ASTMatchFinder.h"
 | 
				
			||||||
| 
						 | 
					@ -53,4 +53,4 @@ private:
 | 
				
			||||||
  Transform &Owner;
 | 
					  Transform &Owner;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_USE_AUTO_ACTIONS_H
 | 
					#endif // CLANG_MODERNIZE_USE_AUTO_ACTIONS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_USE_AUTO_MATCHERS_H
 | 
					#ifndef CLANG_MODERNIZE_USE_AUTO_MATCHERS_H
 | 
				
			||||||
#define CPP11_MIGRATE_USE_AUTO_MATCHERS_H
 | 
					#define CLANG_MODERNIZE_USE_AUTO_MATCHERS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchers.h"
 | 
					#include "clang/ASTMatchers/ASTMatchers.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,4 +31,4 @@ clang::ast_matchers::StatementMatcher makeIteratorDeclMatcher();
 | 
				
			||||||
/// initialized by a C++ new expression.
 | 
					/// initialized by a C++ new expression.
 | 
				
			||||||
clang::ast_matchers::StatementMatcher makeDeclWithNewMatcher();
 | 
					clang::ast_matchers::StatementMatcher makeDeclWithNewMatcher();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_USE_AUTO_MATCHERS_H
 | 
					#endif // CLANG_MODERNIZE_USE_AUTO_MATCHERS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_NULLPTR_ACTIONS_H
 | 
					#ifndef CLANG_MODERNIZE_NULLPTR_ACTIONS_H
 | 
				
			||||||
#define CPP11_MIGRATE_NULLPTR_ACTIONS_H
 | 
					#define CLANG_MODERNIZE_NULLPTR_ACTIONS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/Transform.h"
 | 
					#include "Core/Transform.h"
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchFinder.h"
 | 
					#include "clang/ASTMatchers/ASTMatchFinder.h"
 | 
				
			||||||
| 
						 | 
					@ -38,4 +38,4 @@ private:
 | 
				
			||||||
  Transform &Owner;
 | 
					  Transform &Owner;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_NULLPTR_ACTIONS_H
 | 
					#endif // CLANG_MODERNIZE_NULLPTR_ACTIONS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,8 +13,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_USE_NULLPTR_MATCHERS_H
 | 
					#ifndef CLANG_MODERNIZE_USE_NULLPTR_MATCHERS_H
 | 
				
			||||||
#define CPP11_MIGRATE_USE_NULLPTR_MATCHERS_H
 | 
					#define CLANG_MODERNIZE_USE_NULLPTR_MATCHERS_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "clang/ASTMatchers/ASTMatchers.h"
 | 
					#include "clang/ASTMatchers/ASTMatchers.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,4 +28,4 @@ extern const char *CastSequence;
 | 
				
			||||||
/// can be replaced instead of just the inner-most implicit cast.
 | 
					/// can be replaced instead of just the inner-most implicit cast.
 | 
				
			||||||
clang::ast_matchers::StatementMatcher makeCastSequenceMatcher();
 | 
					clang::ast_matchers::StatementMatcher makeCastSequenceMatcher();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_USE_NULLPTR_MATCHERS_H
 | 
					#endif // CLANG_MODERNIZE_USE_NULLPTR_MATCHERS_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef CPP11_MIGRATE_USE_NULLPTR_H
 | 
					#ifndef CLANG_MODERNIZE_USE_NULLPTR_H
 | 
				
			||||||
#define CPP11_MIGRATE_USE_NULLPTR_H
 | 
					#define CLANG_MODERNIZE_USE_NULLPTR_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "Core/Transform.h"
 | 
					#include "Core/Transform.h"
 | 
				
			||||||
#include "llvm/Support/Compiler.h" // For LLVM_OVERRIDE
 | 
					#include "llvm/Support/Compiler.h" // For LLVM_OVERRIDE
 | 
				
			||||||
| 
						 | 
					@ -33,4 +33,4 @@ public:
 | 
				
			||||||
                    const std::vector<std::string> &SourcePaths) LLVM_OVERRIDE;
 | 
					                    const std::vector<std::string> &SourcePaths) LLVM_OVERRIDE;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif // CPP11_MIGRATE_USE_NULLPTR_H
 | 
					#endif // CLANG_MODERNIZE_USE_NULLPTR_H
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue