Lines Matching refs:CPPVar
166 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()
247 ? "\n#" + Check->formatEndIf(CPPVar) + "\n" in checkGuardlessHeaders()