diff options
author | Nandor Licker <n@ndor.email> | 2019-11-11 11:13:34 +0000 |
---|---|---|
committer | Nandor Licker <n@ndor.email> | 2019-11-27 20:07:19 +0000 |
commit | f584f04dab69ab15c8942753a145f0c6e7693bcc (patch) | |
tree | 0882aa0649652417b7dd68f6565e1c42c2b2b06c /clang/test | |
parent | 9283681e168141bab9a883e48ce1da80b86afca3 (diff) | |
download | bcm5719-llvm-f584f04dab69ab15c8942753a145f0c6e7693bcc.tar.gz bcm5719-llvm-f584f04dab69ab15c8942753a145f0c6e7693bcc.zip |
[ConstExprPreter] Removed the flag forcing the use of the interpreter
Summary:
Removed the ```-fforce-experimental-new-constant-interpreter flag```, leaving
only the ```-fexperimental-new-constant-interpreter``` one. The interpreter
now always emits an error on an unsupported feature.
Allowing the interpreter to bail out would require a mapping from APValue to
interpreter memory, which will not be necessary in the final version. It is
more sensible to always emit an error if the interpreter fails.
Reviewers: jfb, Bigcheese, rsmith, dexonsmith
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70071
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/AST/Interp/cond.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/AST/Interp/cond.cpp b/clang/test/AST/Interp/cond.cpp index 8a5a318c216..1fc69ed333e 100644 --- a/clang/test/AST/Interp/cond.cpp +++ b/clang/test/AST/Interp/cond.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++17 -fsyntax-only -fforce-experimental-new-constant-interpreter %s -verify +// RUN: %clang_cc1 -std=c++17 -fsyntax-only -fexperimental-new-constant-interpreter %s -verify // RUN: %clang_cc1 -std=c++17 -fsyntax-only %s -verify // expected-no-diagnostics |