Skip to content

Commit

Permalink
Fix header guards in tools dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jbytheway committed Apr 13, 2020
1 parent 8fcfd30 commit 5dac865
Show file tree
Hide file tree
Showing 15 changed files with 45 additions and 45 deletions.
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/HeaderGuardCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_CLANG_TIDY_PLUGIN_HEADER_GUEAD_CHECK_H
#define CATA_CLANG_TIDY_PLUGIN_HEADER_GUEAD_CHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_HEADERGUARDCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_HEADERGUARDCHECK_H

#include <ClangTidy.h>

Expand All @@ -23,4 +23,4 @@ class CataHeaderGuardCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_LLVM_HEADER_GUARD_CHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_HEADERGUARDCHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/JsonTranslationInputCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_JSONTRANSLATIONINPUTCHECK_H
#define CATA_TOOLS_CLANG_TIDY_JSONTRANSLATIONINPUTCHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_JSONTRANSLATIONINPUTCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_JSONTRANSLATIONINPUTCHECK_H

#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <llvm/ADT/StringRef.h>
Expand Down Expand Up @@ -29,4 +29,4 @@ class JsonTranslationInputCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_JSONTRANSLATIONINPUTCHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_JSONTRANSLATIONINPUTCHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/NoLongCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_NOLONGCHECK_H
#define CATA_TOOLS_CLANG_TIDY_NOLONGCHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_NOLONGCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_NOLONGCHECK_H

#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <llvm/ADT/StringRef.h>
Expand Down Expand Up @@ -31,4 +31,4 @@ class NoLongCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_NOLONGCHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_NOLONGCHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/NoStaticGettextCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_NOSTATICGETTEXTCHECK_H
#define CATA_TOOLS_CLANG_TIDY_NOSTATICGETTEXTCHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_NOSTATICGETTEXTCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_NOSTATICGETTEXTCHECK_H

#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <llvm/ADT/StringRef.h>
Expand Down Expand Up @@ -29,4 +29,4 @@ class NoStaticGettextCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_NOSTATICGETTEXTCHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_NOSTATICGETTEXTCHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/PointInitializationCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_POINTINITIALIZATIONCHECK_H
#define CATA_TOOLS_CLANG_TIDY_POINTINITIALIZATIONCHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_POINTINITIALIZATIONCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_POINTINITIALIZATIONCHECK_H

#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <llvm/ADT/StringRef.h>
Expand Down Expand Up @@ -29,4 +29,4 @@ class PointInitializationCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_POINTINITIALIZATIONCHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_POINTINITIALIZATIONCHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/SimplifyPointConstructorsCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_SIMPLIFYPOINTCONSTRUCTORSCHECK_H
#define CATA_TOOLS_CLANG_TIDY_SIMPLIFYPOINTCONSTRUCTORSCHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_SIMPLIFYPOINTCONSTRUCTORSCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_SIMPLIFYPOINTCONSTRUCTORSCHECK_H

#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <llvm/ADT/StringRef.h>
Expand Down Expand Up @@ -30,4 +30,4 @@ class SimplifyPointConstructorsCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_SIMPLIFYPOINTCONSTRUCTORSCHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_SIMPLIFYPOINTCONSTRUCTORSCHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/StringLiteralIterator.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_STRINGLITERALITERATOR_H
#define CATA_TOOLS_CLANG_TIDY_STRINGLITERALITERATOR_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_STRINGLITERALITERATOR_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_STRINGLITERALITERATOR_H

#include <clang/Basic/SourceLocation.h>
#include <clang/Basic/TargetInfo.h>
Expand Down Expand Up @@ -85,4 +85,4 @@ struct iterator_traits<clang::tidy::cata::StringLiteralIterator> {
};
} // namespace std

#endif // CATA_TOOLS_CLANG_TIDY_STRINGLITERALITERATOR_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_STRINGLITERALITERATOR_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/TestFilenameCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_TESTFILENAMECHECK_H
#define CATA_TOOLS_CLANG_TIDY_TESTFILENAMECHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_TESTFILENAMECHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_TESTFILENAMECHECK_H

#include <llvm/ADT/StringRef.h>

Expand Down Expand Up @@ -29,4 +29,4 @@ class TestFilenameCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_TESTFILENAMECHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_TESTFILENAMECHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/TextStyleCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_TEXTSTYLECHECK_H
#define CATA_TOOLS_CLANG_TIDY_TEXTSTYLECHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_TEXTSTYLECHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_TEXTSTYLECHECK_H

#include <ClangTidyOptions.h>
#include <clang/ASTMatchers/ASTMatchFinder.h>
Expand Down Expand Up @@ -33,4 +33,4 @@ class TextStyleCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_TEXTSTYLECHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_TEXTSTYLECHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/TranslatorCommentsCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_TRANSLATORCOMMENTSCHECK_H
#define CATA_TOOLS_CLANG_TIDY_TRANSLATORCOMMENTSCHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_TRANSLATORCOMMENTSCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_TRANSLATORCOMMENTSCHECK_H

#include <ClangTidy.h>
#include <clang/ASTMatchers/ASTMatchFinder.h>
Expand Down Expand Up @@ -42,4 +42,4 @@ class TranslatorCommentsCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_TRANSLATORCOMMENTSCHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_TRANSLATORCOMMENTSCHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/UseNamedPointConstantsCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_USENAMESPOINTCONSTANTSCHECK_H
#define CATA_TOOLS_CLANG_TIDY_USENAMESPOINTCONSTANTSCHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_USENAMEDPOINTCONSTANTSCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_USENAMEDPOINTCONSTANTSCHECK_H

#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <llvm/ADT/StringRef.h>
Expand Down Expand Up @@ -30,4 +30,4 @@ class UseNamedPointConstantsCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_USENAMESPOINTCONSTANTSCHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_USENAMEDPOINTCONSTANTSCHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/UsePointApisCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_USEPOINTAPISCHECK_H
#define CATA_TOOLS_CLANG_TIDY_USEPOINTAPISCHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_USEPOINTAPISCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_USEPOINTAPISCHECK_H

#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <llvm/ADT/StringRef.h>
Expand Down Expand Up @@ -30,4 +30,4 @@ class UsePointApisCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_USEPOINTAPISCHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_USEPOINTAPISCHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/UsePointArithmeticCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_USEPOINTARITHMETICCHECK_H
#define CATA_TOOLS_CLANG_TIDY_USEPOINTARITHMETICCHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_USEPOINTARITHMETICCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_USEPOINTARITHMETICCHECK_H

#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <llvm/ADT/StringRef.h>
Expand Down Expand Up @@ -30,4 +30,4 @@ class UsePointArithmeticCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_USEPOINTARITHMETICCHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_USEPOINTARITHMETICCHECK_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/Utils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_UTILS_H
#define CATA_TOOLS_CLANG_TIDY_UTILS_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_UTILS_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_UTILS_H

#include <clang/AST/ASTContext.h>
#include <clang/AST/ASTTypeTraits.h>
Expand Down Expand Up @@ -143,4 +143,4 @@ class NameConvention
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_UTILS_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_UTILS_H
6 changes: 3 additions & 3 deletions tools/clang-tidy-plugin/XYCheck.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef CATA_TOOLS_CLANG_TIDY_XYCHECK_H
#define CATA_TOOLS_CLANG_TIDY_XYCHECK_H
#ifndef CATA_TOOLS_CLANG_TIDY_PLUGIN_XYCHECK_H
#define CATA_TOOLS_CLANG_TIDY_PLUGIN_XYCHECK_H

#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <llvm/ADT/StringRef.h>
Expand Down Expand Up @@ -29,4 +29,4 @@ class XYCheck : public ClangTidyCheck
} // namespace tidy
} // namespace clang

#endif // CATA_TOOLS_CLANG_TIDY_XYCHECK_H
#endif // CATA_TOOLS_CLANG_TIDY_PLUGIN_XYCHECK_H

0 comments on commit 5dac865

Please sign in to comment.