summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-limited.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-03-14 22:07:27 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-03-14 22:07:27 +0000
commit594461f02c6a4bc19ae00d614c6dfaf000700944 (patch)
treef9e99d6b9f3c3bc9782927d54a93c18d7df8eb09 /clang/test/CodeGenCXX/debug-info-limited.cpp
parent709590838ff772a315012a9270604406dcd26d63 (diff)
downloadbcm5719-llvm-594461f02c6a4bc19ae00d614c6dfaf000700944.tar.gz
bcm5719-llvm-594461f02c6a4bc19ae00d614c6dfaf000700944.zip
Call RequireCompleteType when performing ADL even if the type is already
complete. We hook into this check from a couple of other places (modules, debug info) so it's not OK to elide the check if the type was already complete. llvm-svn: 203978
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-limited.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-limited.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-limited.cpp b/clang/test/CodeGenCXX/debug-info-limited.cpp
index 54a2424fddd..294d1f6b6d2 100644
--- a/clang/test/CodeGenCXX/debug-info-limited.cpp
+++ b/clang/test/CodeGenCXX/debug-info-limited.cpp
@@ -11,8 +11,7 @@ A *foo (A* x) {
return a;
}
-// Verify that we're not emitting a full definition of B in limit debug mode.
-// CHECK: ; [ DW_TAG_class_type ] [B] {{.*}} [decl]
+// CHECK: ; [ DW_TAG_class_type ] [B] {{.*}} [def]
class B {
public:
OpenPOWER on IntegriCloud