diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-09-08 16:26:36 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-09-08 16:26:36 +0000 |
commit | 17d3a2c3f8cabcfdad778ecb20fab52592103615 (patch) | |
tree | 536181e521de285e156b2a979082e9fac69f49c2 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ab86fbe4250bf81f46025f9d1b50dfa1c07da9c5 (diff) | |
download | llvm-17d3a2c3f8cabcfdad778ecb20fab52592103615.zip llvm-17d3a2c3f8cabcfdad778ecb20fab52592103615.tar.gz llvm-17d3a2c3f8cabcfdad778ecb20fab52592103615.tar.bz2 |
Remove a parameter that has been unused since r188481. No behavior change.
llvm-svn: 217386
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 24f3ac2..7ea787d 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1177,7 +1177,7 @@ llvm::Constant *CodeGenModule::GetAddrOfUuidDescriptor( if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) return GV; - llvm::Constant *Init = EmitUuidofInitializer(Uuid, E->getType()); + llvm::Constant *Init = EmitUuidofInitializer(Uuid); assert(Init && "failed to initialize as constant"); auto *GV = new llvm::GlobalVariable( @@ -3386,8 +3386,7 @@ void CodeGenModule::EmitCoverageFile() { } } -llvm::Constant *CodeGenModule::EmitUuidofInitializer(StringRef Uuid, - QualType GuidType) { +llvm::Constant *CodeGenModule::EmitUuidofInitializer(StringRef Uuid) { // Sema has checked that all uuid strings are of the form // "12345678-1234-1234-1234-1234567890ab". assert(Uuid.size() == 36); |