summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorJoao Matos <ripzonetriton@gmail.com>2012-08-31 22:18:20 +0000
committerJoao Matos <ripzonetriton@gmail.com>2012-08-31 22:18:20 +0000
commite9a3ed4d7127a7f5c57df314a471c4d1bfbe4e0c (patch)
treea7698baaebfa2b5d5f0707781ef37d95690b3b8b /clang/lib/CodeGen
parent648e68b80958755ddcd53bfec98b549ef3df7b75 (diff)
downloadbcm5719-llvm-e9a3ed4d7127a7f5c57df314a471c4d1bfbe4e0c.tar.gz
bcm5719-llvm-e9a3ed4d7127a7f5c57df314a471c4d1bfbe4e0c.zip
Normalize line endings of r163013 (part 2).
llvm-svn: 163032
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 212923421b4..d6c39c610fc 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -520,13 +520,13 @@ llvm::DIType CGDebugInfo::createRecordFwdDecl(const RecordDecl *RD,
const CXXRecordDecl *CXXDecl = dyn_cast<CXXRecordDecl>(RD);
unsigned Tag = 0;
if (CXXDecl) {
- RDName = getClassName(RD);
- Tag = llvm::dwarf::DW_TAG_class_type;
- }
- else if (RD->isStruct() || RD->isInterface())
- Tag = llvm::dwarf::DW_TAG_structure_type;
- else if (RD->isUnion())
- Tag = llvm::dwarf::DW_TAG_union_type;
+ RDName = getClassName(RD);
+ Tag = llvm::dwarf::DW_TAG_class_type;
+ }
+ else if (RD->isStruct() || RD->isInterface())
+ Tag = llvm::dwarf::DW_TAG_structure_type;
+ else if (RD->isUnion())
+ Tag = llvm::dwarf::DW_TAG_union_type;
else
llvm_unreachable("Unknown RecordDecl type!");
OpenPOWER on IntegriCloud