[NFC] Fix endif comments to match with include guard

This commit is contained in:
Qiu Chaofan 2022-01-07 15:52:59 +08:00
parent 410480e32b
commit c2cc70e4f5
22 changed files with 24 additions and 24 deletions

View File

@ -138,4 +138,4 @@ AST_MATCHER_FUNCTION_P(ast_matchers::internal::Matcher<Stmt>,
} // namespace tidy
} // namespace clang
#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_ABSEIL_DURATIONCOMPARISONCHECK_H
#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_ABSEIL_DURATIONREWRITER_H

View File

@ -41,4 +41,4 @@ private:
} // namespace tidy
} // namespace clang
#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CERT_NOTTRIVIALTYPESLIBCMEMORYCALLSCHECK_H
#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CERT_NONTRIVIALTYPESLIBCMEMORYCALLSCHECK_H

View File

@ -1166,4 +1166,4 @@ std::unique_ptr<MatcherDescriptor> makeMatcherAutoMarshall(
} // namespace ast_matchers
} // namespace clang
#endif // LLVM_CLANG_AST_MATCHERS_DYNAMIC_MARSHALLERS_H
#endif // LLVM_CLANG_LIB_ASTMATCHERS_DYNAMIC_MARSHALLERS_H

View File

@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_Clang_H
#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_Clang_H
#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_CLANG_H
#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_CLANG_H
#include "MSVC.h"
#include "clang/Basic/DebugInfoOptions.h"

View File

@ -345,4 +345,4 @@ __DEVICE__ float ynf(int __a, float __b) { return __nv_ynf(__a, __b); }
#pragma pop_macro("__DEVICE_VOID__")
#pragma pop_macro("__FAST_OR_SLOW")
#endif // __CLANG_CUDA_DEVICE_FUNCTIONS_H__
#endif // __CLANG_CUDA_MATH_H__

View File

@ -82,4 +82,4 @@ static __inline__ __m512i __DEFAULT_FN_ATTRS_F
#undef __DEFAULT_FN_ATTRS
#undef __DEFAULT_FN_ATTRS_F
#endif
#endif // __VAESINTRIN_H

View File

@ -57,4 +57,4 @@ llvm::Optional<T> getConfiguration(CheckerManager &Mgr, Checker *Chk,
} // namespace ento
} // namespace clang
#endif // LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_MOVE_H
#endif // LLVM_CLANG_LIB_STATICANALYZER_CHECKER_YAML_H

View File

@ -13,8 +13,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef FP_MODE
#define FP_MODE
#ifndef FP_MODE_H
#define FP_MODE_H
typedef enum {
CRT_FE_TONEAREST,

View File

@ -110,4 +110,4 @@ inline std::string to_string(string_view SV) {
} // end namespace __orc_rt
#endif // ORC_RT_COMMON_H
#endif // ORC_RT_ADT_H

View File

@ -51,4 +51,4 @@ __ubsan_handle_function_type_mismatch_v1_abort(FunctionTypeMismatchData *Data,
ValueHandle fnRTTI);
}
#endif // UBSAN_HANDLERS_H
#endif // UBSAN_HANDLERS_CXX_H

View File

@ -102,4 +102,4 @@ private:
};
} // namespace lldb_private
#endif // LLDB_PLUGINS_OBJECTFILE_PDB_OBJECTFILEPDB_H
#endif // LLDB_SOURCE_PLUGINS_OBJECTFILE_PDB_OBJECTFILEPDB_H

View File

@ -45,4 +45,4 @@ public:
} // namespace lldb_private
#endif // LLDB_ENABLE_PYTHON
#endif // LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTEDPROCESSTHREADINTERFACE_H
#endif // LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTEDTHREADPYTHONINTERFACE_H

View File

@ -161,4 +161,4 @@ void prune(LinkGraph &G);
#undef DEBUG_TYPE // "jitlink"
#endif // LLVM_EXECUTIONENGINE_JITLINK_JITLINKGENERIC_H
#endif // LIB_EXECUTIONENGINE_JITLINK_JITLINKGENERIC_H

View File

@ -33,4 +33,4 @@ void addTo(StringMap<ExecutorAddr> &M);
} // end namespace orc
} // end namespace llvm
#endif // LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_ORCRTBOOTSTRAP_H
#endif // LIB_EXECUTIONENGINE_ORC_TARGETPROCESS_ORCRTBOOTSTRAP_H

View File

@ -29,4 +29,4 @@ const char NoteNameV3[] = "AMDGPU";
} // End namespace ElfNote
} // End namespace AMDGPU
} // End namespace llvm
#endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUNOTETYPE_H
#endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUPTNOTE_H

View File

@ -140,4 +140,4 @@ public:
} // End namespace llvm
#endif // GCNSCHEDSTRATEGY_H
#endif // LLVM_LIB_TARGET_AMDGPU_GCNSCHEDSTRATEGY_H

View File

@ -276,4 +276,4 @@ private:
};
} // namespace llvm
#endif // M68kISELLOWERING_H
#endif // LLVM_LIB_TARGET_M68K_M68KISELLOWERING_H

View File

@ -91,4 +91,4 @@ addMemOperand(const MachineInstrBuilder &MIB, int FI, int Offset = 0) {
} // end namespace M68k
} // end namespace llvm
#endif // LLVM_LIB_TARGET_M6800_M6800INSTRBUILDER_H
#endif // LLVM_LIB_TARGET_M68K_M68KINSTRBUILDER_H

View File

@ -111,4 +111,4 @@ private:
} // end of namespace llvm
#endif // M68K_MACHINE_FUNCTION_INFO_H
#endif // LLVM_LIB_TARGET_M68K_M68KMACHINEFUNCTION_H

View File

@ -1456,4 +1456,4 @@ namespace llvm {
} // end namespace llvm
#endif // LLVM_TARGET_POWERPC_PPC32ISELLOWERING_H
#endif // LLVM_LIB_TARGET_POWERPC_PPCISELLOWERING_H

View File

@ -219,4 +219,4 @@ public:
};
} // namespace llvm
#endif // VE_ISELLOWERING_H
#endif // LLVM_LIB_TARGET_VE_VEISELLOWERING_H

View File

@ -40,4 +40,4 @@ protected:
} // end namespace llvm
#endif // LLVM_LIB_TARGET_X86_MCTARGETDESC_X86ATTINSTPRINTER_H
#endif // LLVM_LIB_TARGET_X86_MCTARGETDESC_X86INSTPRINTERCOMMON_H