projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcac2da
)
CGDebugInfo: Delete redundant test
author
Fangrui Song
<i@maskray.me>
Mon, 11 Jan 2021 06:09:47 +0000
(22:09 -0800)
committer
Fangrui Song
<i@maskray.me>
Mon, 11 Jan 2021 06:22:06 +0000
(22:22 -0800)
clang/lib/CodeGen/CGDebugInfo.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CGDebugInfo.cpp
b/clang/lib/CodeGen/CGDebugInfo.cpp
index
74ec683
..
df8432d
100644
(file)
--- a/
clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/
clang/lib/CodeGen/CGDebugInfo.cpp
@@
-3148,8
+3148,6
@@
llvm::DIType *CGDebugInfo::getTypeOrNull(QualType Ty) {
void CGDebugInfo::completeTemplateDefinition(
const ClassTemplateSpecializationDecl &SD) {
- if (DebugKind <= codegenoptions::DebugLineTablesOnly)
- return;
completeUnusedClass(SD);
}