diff options
author | Prabhu Rajasekaran <prabhukr@google.com> | 2025-04-30 21:32:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-30 21:32:19 -0700 |
commit | 53c175ceafc58fcdf13fd51f73506a7d277873bb (patch) | |
tree | 690443aca376df08f74528a3a68e17c93f67101c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4258998654a67fb98da16f2c56cbb5912e990a9c (diff) | |
download | llvm-53c175ceafc58fcdf13fd51f73506a7d277873bb.zip llvm-53c175ceafc58fcdf13fd51f73506a7d277873bb.tar.gz llvm-53c175ceafc58fcdf13fd51f73506a7d277873bb.tar.bz2 |
[nfc][clang] Rename function (#137874)
Rename function to meet the coding guidelines.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 242eaec..b36e078 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -2662,7 +2662,7 @@ void CodeGenModule::SetLLVMFunctionAttributesForDefinition(const Decl *D, // Skip available_externally functions. They won't be codegen'ed in the // current module anyway. if (getContext().GetGVALinkageForFunction(FD) != GVA_AvailableExternally) - CreateFunctionTypeMetadataForIcall(FD, F); + createFunctionTypeMetadataForIcall(FD, F); } } @@ -2869,7 +2869,7 @@ static void setLinkageForGV(llvm::GlobalValue *GV, const NamedDecl *ND) { GV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); } -void CodeGenModule::CreateFunctionTypeMetadataForIcall(const FunctionDecl *FD, +void CodeGenModule::createFunctionTypeMetadataForIcall(const FunctionDecl *FD, llvm::Function *F) { // Only if we are checking indirect calls. if (!LangOpts.Sanitize.has(SanitizerKind::CFIICall)) @@ -3017,7 +3017,7 @@ void CodeGenModule::SetFunctionAttributes(GlobalDecl GD, llvm::Function *F, // jump table. if (!CodeGenOpts.SanitizeCfiCrossDso || !CodeGenOpts.SanitizeCfiCanonicalJumpTables) - CreateFunctionTypeMetadataForIcall(FD, F); + createFunctionTypeMetadataForIcall(FD, F); if (LangOpts.Sanitize.has(SanitizerKind::KCFI)) setKCFIType(FD, F); |