Author: ldionne Date: Wed Oct 10 10:37:37 2018 New Revision: 344159 URL: http://llvm.org/viewvc/llvm-project?rev=344159&view=rev Log: [clang] Fix failing attribute test on Windows
The test added in r344146 was failing because the ABI on Windows is different, and that test includes ABI-specific details. The test now harcodes which ABI to use so we can rely on those details. Modified: cfe/trunk/test/SemaCXX/attr-on-explicit-template-instantiation.cpp Modified: cfe/trunk/test/SemaCXX/attr-on-explicit-template-instantiation.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/attr-on-explicit-template-instantiation.cpp?rev=344159&r1=344158&r2=344159&view=diff ============================================================================== --- cfe/trunk/test/SemaCXX/attr-on-explicit-template-instantiation.cpp (original) +++ cfe/trunk/test/SemaCXX/attr-on-explicit-template-instantiation.cpp Wed Oct 10 10:37:37 2018 @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | FileCheck %s // PR39118 // Make sure that attributes are properly applied to explicit template _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits