summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-11-28 05:47:24 +0000
committerMartin Storsjo <martin@martin.st>2017-11-28 05:47:24 +0000
commit0db60f36371ce1ef4b4ed60c35d6090fd8ced0d9 (patch)
treee0b8c37aa4f0144ff2f9074a65f60940ac84b8ad /clang
parent3ff73cfbcd7eb99d2186b883089b412245b717e4 (diff)
downloadbcm5719-llvm-0db60f36371ce1ef4b4ed60c35d6090fd8ced0d9.tar.gz
bcm5719-llvm-0db60f36371ce1ef4b4ed60c35d6090fd8ced0d9.zip
[test] Fix a typo in a test comment. NFC.
llvm-svn: 319145
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CodeGenCXX/dllexport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/dllexport.cpp b/clang/test/CodeGenCXX/dllexport.cpp
index 1c96de9b6c9..d79a19420ac 100644
--- a/clang/test/CodeGenCXX/dllexport.cpp
+++ b/clang/test/CodeGenCXX/dllexport.cpp
@@ -826,7 +826,7 @@ struct __declspec(dllexport) B {
// M32-DAG: define weak_odr dllexport x86_thiscallcc void @"\01??_FB@pr26490@@QAEXXZ"
}
-// dllexport trumps dllexport on an explicit instantiation.
+// dllexport trumps dllimport on an explicit instantiation.
template <typename T> struct ExplicitInstantiationTwoAttributes { void f() {} };
template struct __declspec(dllexport) __declspec(dllimport) ExplicitInstantiationTwoAttributes<int>;
// M32-DAG: define weak_odr dllexport x86_thiscallcc void @"\01?f@?$ExplicitInstantiationTwoAttributes@H@@QAEXXZ"
OpenPOWER on IntegriCloud