r364690 - [clang][test][NFC] Explicitly specify clang ABI in AST Dumper test
Jan Korous via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 28 15:37:31 PDT 2019
Author: jkorous
Date: Fri Jun 28 15:37:31 2019
New Revision: 364690
URL: http://llvm.org/viewvc/llvm-project?rev=364690&view=rev
Log:
[clang][test][NFC] Explicitly specify clang ABI in AST Dumper test
Clang <= 4 used the pre-C++11 rule about which structures can be passed in registers.
Modified:
cfe/trunk/test/AST/ast-dump-record-definition-data-json.cpp
Modified: cfe/trunk/test/AST/ast-dump-record-definition-data-json.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/ast-dump-record-definition-data-json.cpp?rev=364690&r1=364689&r2=364690&view=diff
==============================================================================
--- cfe/trunk/test/AST/ast-dump-record-definition-data-json.cpp (original)
+++ cfe/trunk/test/AST/ast-dump-record-definition-data-json.cpp Fri Jun 28 15:37:31 2019
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=c++17 -ast-dump=json %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fclang-abi-compat=7.0 -std=c++17 -ast-dump=json %s | FileCheck %s
void f() {
auto IsNotGenericLambda = [](){};
More information about the cfe-commits
mailing list