diff options
| author | Artem Dergachev <artem.dergachev@gmail.com> | 2019-10-19 00:08:17 +0000 |
|---|---|---|
| committer | Artem Dergachev <artem.dergachev@gmail.com> | 2019-10-19 00:08:17 +0000 |
| commit | b0914e7276bf97cb57f84fecc3a95e0d3ceeaf3e (patch) | |
| tree | 451c531dd2b8d5c0465643e74560a978720031c0 /clang/test/Analysis/ctu-main.cpp | |
| parent | a9727033fb5fa229b520e0e0d973f68780bc5348 (diff) | |
| download | bcm5719-llvm-b0914e7276bf97cb57f84fecc3a95e0d3ceeaf3e.tar.gz bcm5719-llvm-b0914e7276bf97cb57f84fecc3a95e0d3ceeaf3e.zip | |
[analyzer] Specify the C++ standard in more tests.
Makes life easier for downstream developers with different default standard.
llvm-svn: 375308
Diffstat (limited to 'clang/test/Analysis/ctu-main.cpp')
| -rw-r--r-- | clang/test/Analysis/ctu-main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Analysis/ctu-main.cpp b/clang/test/Analysis/ctu-main.cpp index abfacfbdae5..3f095a0aabc 100644 --- a/clang/test/Analysis/ctu-main.cpp +++ b/clang/test/Analysis/ctu-main.cpp @@ -1,16 +1,16 @@ // RUN: rm -rf %t && mkdir %t // RUN: mkdir -p %t/ctudir -// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu \ +// RUN: %clang_cc1 -std=c++14 -triple x86_64-pc-linux-gnu \ // RUN: -emit-pch -o %t/ctudir/ctu-other.cpp.ast %S/Inputs/ctu-other.cpp -// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu \ +// RUN: %clang_cc1 -std=c++14 -triple x86_64-pc-linux-gnu \ // RUN: -emit-pch -o %t/ctudir/ctu-chain.cpp.ast %S/Inputs/ctu-chain.cpp // RUN: cp %S/Inputs/ctu-other.cpp.externalDefMap.txt %t/ctudir/externalDefMap.txt -// RUN: %clang_analyze_cc1 -triple x86_64-pc-linux-gnu \ +// RUN: %clang_analyze_cc1 -std=c++14 -triple x86_64-pc-linux-gnu \ // RUN: -analyzer-checker=core,debug.ExprInspection \ // RUN: -analyzer-config experimental-enable-naive-ctu-analysis=true \ // RUN: -analyzer-config ctu-dir=%t/ctudir \ // RUN: -verify %s -// RUN: %clang_analyze_cc1 -triple x86_64-pc-linux-gnu \ +// RUN: %clang_analyze_cc1 -std=c++14 -triple x86_64-pc-linux-gnu \ // RUN: -analyzer-checker=core,debug.ExprInspection \ // RUN: -analyzer-config experimental-enable-naive-ctu-analysis=true \ // RUN: -analyzer-config ctu-dir=%t/ctudir \ |

