diff options
| author | Eric Christopher <echristo@apple.com> | 2012-08-04 00:11:22 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2012-08-04 00:11:22 +0000 |
| commit | 08af4c84618198679be67d18cbfda82547a07edc (patch) | |
| tree | 346aee992db6509f63931118fd2618af2820b0ed /clang/lib/CodeGen | |
| parent | 47cff5442271a9a75f10406f5e18150b49d054e5 (diff) | |
| download | bcm5719-llvm-08af4c84618198679be67d18cbfda82547a07edc.tar.gz bcm5719-llvm-08af4c84618198679be67d18cbfda82547a07edc.zip | |
Fix the name of this variable.
llvm-svn: 161287
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 9e3127bbaf1..dd0685e6a18 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -684,9 +684,9 @@ llvm::DIType CGDebugInfo::CreateType(const FunctionType *Ty, // FIXME: IF NOT, HOW IS THIS REPRESENTED? llvm-gcc doesn't represent '...'! if (isa<FunctionNoProtoType>(Ty)) EltTys.push_back(DBuilder.createUnspecifiedParameter()); - else if (const FunctionProtoType *FTP = dyn_cast<FunctionProtoType>(Ty)) { - for (unsigned i = 0, e = FTP->getNumArgs(); i != e; ++i) - EltTys.push_back(getOrCreateType(FTP->getArgType(i), Unit)); + else if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(Ty)) { + for (unsigned i = 0, e = FPT->getNumArgs(); i != e; ++i) + EltTys.push_back(getOrCreateType(FPT->getArgType(i), Unit)); } llvm::DIArray EltTypeArray = DBuilder.getOrCreateArray(EltTys); @@ -911,7 +911,7 @@ CGDebugInfo::CreateCXXMemberFunction(const CXXMethodDecl *Method, StringRef MethodName = getFunctionName(Method); llvm::DIType MethodTy = getOrCreateMethodType(Method, Unit); - + // Since a single ctor/dtor corresponds to multiple functions, it doesn't // make sense to give a single ctor/dtor a linkage name. StringRef MethodLinkageName; |

