summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-10-21 23:30:10 +0000
committerEric Christopher <echristo@apple.com>2011-10-21 23:30:10 +0000
commit4b4beb2fe70f7da8bb9fe7b81ecbe6a2c9c6e612 (patch)
tree3ba5871eec38ac85fc142826be895b4fb7d96910 /clang/test/CodeGenCXX
parent0a92de06f013da0dccdd10c40f44433c16f2725f (diff)
downloadbcm5719-llvm-4b4beb2fe70f7da8bb9fe7b81ecbe6a2c9c6e612.tar.gz
bcm5719-llvm-4b4beb2fe70f7da8bb9fe7b81ecbe6a2c9c6e612.zip
Fix PR11073 by adding the argument type information to the decl we construct
for the function type. Update a testcase accordingly. Patch initially by Anders Waldenborg! llvm-svn: 142700
Diffstat (limited to 'clang/test/CodeGenCXX')
-rw-r--r--clang/test/CodeGenCXX/debug-info-fn-template.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-fn-template.cpp b/clang/test/CodeGenCXX/debug-info-fn-template.cpp
index c8291af852d..bef9fe14402 100644
--- a/clang/test/CodeGenCXX/debug-info-fn-template.cpp
+++ b/clang/test/CodeGenCXX/debug-info-fn-template.cpp
@@ -10,6 +10,6 @@ T fx(XF<T> xi) {
return xi.member;
}
-//CHECK: DW_TAG_template_type_parameter
//CHECK: XF<int>
+//CHECK: DW_TAG_template_type_parameter
template int fx(XF<int>);
OpenPOWER on IntegriCloud