Home
last modified time | relevance | path

Searched refs:CurHeaderGuard (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DHeaderGuard.cpp100 StringRef CurHeaderGuard = in EndOfMainFile() local
104 Ifndef, Define, EndIf, FileName, CurHeaderGuard, FixIts); in EndOfMainFile()
113 if (CurHeaderGuard != NewGuard) { in EndOfMainFile()
164 StringRef CurHeaderGuard, in checkHeaderGuardDefinition() argument
166 std::string CPPVar = Check->getHeaderGuard(FileName, CurHeaderGuard); in checkHeaderGuardDefinition()
171 if (Ifndef.isValid() && CurHeaderGuard != CPPVar && in checkHeaderGuardDefinition()
172 (CurHeaderGuard != CPPVarUnder || in checkHeaderGuardDefinition()
173 wouldFixEndifComment(FileName, EndIf, CurHeaderGuard))) { in checkHeaderGuardDefinition()
176 Ifndef, Ifndef.getLocWithOffset(CurHeaderGuard.size())), in checkHeaderGuardDefinition()
180 Define, Define.getLocWithOffset(CurHeaderGuard.size())), in checkHeaderGuardDefinition()
[all …]