Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DHeaderGuard.cpp166 std::string CPPVar = Check->getHeaderGuard(FileName, CurHeaderGuard); in checkHeaderGuardDefinition() local
167 std::string CPPVarUnder = CPPVar + '_'; in checkHeaderGuardDefinition()
171 if (Ifndef.isValid() && CurHeaderGuard != CPPVar && in checkHeaderGuardDefinition()
177 CPPVar)); in checkHeaderGuardDefinition()
181 CPPVar)); in checkHeaderGuardDefinition()
182 return CPPVar; in checkHeaderGuardDefinition()
218 std::string CPPVar = Check->getHeaderGuard(FileName); in checkGuardlessHeaders() local
219 std::string CPPVarUnder = CPPVar + '_'; // Allow a trailing underscore. in checkGuardlessHeaders()
229 if ((Name == CPPVar || Name == CPPVarUnder) && in checkGuardlessHeaders()
243 StartLoc, "#ifndef " + CPPVar + "\n#define " + CPPVar + "\n\n") in checkGuardlessHeaders()
[all …]