Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-move/
DMove.cpp373 std::string GuardName(FileName); in createInsertedReplacements() local
375 for (size_t i = 0; i < GuardName.size(); ++i) { in createInsertedReplacements()
376 if (!isAlphanumeric(GuardName[i])) in createInsertedReplacements()
377 GuardName[i] = '_'; in createInsertedReplacements()
379 GuardName = StringRef(GuardName).upper(); in createInsertedReplacements()
380 NewCode += "#ifndef " + GuardName + "\n"; in createInsertedReplacements()
381 NewCode += "#define " + GuardName + "\n\n"; in createInsertedReplacements()
451 NewCode += "\n#endif // " + GuardName + "\n"; in createInsertedReplacements()
/external/libevent/
Devent_rpcgen.py1705 def GuardName(name): member in CCodeGenerator
1712 guard = self.GuardName(name)
1740 guard = self.GuardName(name)
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp2386 SmallString<256> GuardName; in EmitGuardedInit() local
2388 llvm::raw_svector_ostream Out(GuardName); in EmitGuardedInit()
2400 GV->getLinkage(), Zero, GuardName.str()); in EmitGuardedInit()
/external/llvm-project/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp2532 SmallString<256> GuardName; in EmitGuardedInit() local
2534 llvm::raw_svector_ostream Out(GuardName); in EmitGuardedInit()
2546 GV->getLinkage(), Zero, GuardName.str()); in EmitGuardedInit()