[PATCH] D125946: Handles failing driver tests of clang
Purva Chaudhari via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 2 00:01:55 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG168d4e2945a9: Handles failing driver tests of clang (authored by Purva-Chaudhari).
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125946/new/
https://reviews.llvm.org/D125946
Files:
clang/lib/Interpreter/IncrementalParser.cpp
clang/test/Interpreter/incremental-mode.cpp
Index: clang/test/Interpreter/incremental-mode.cpp
===================================================================
--- /dev/null
+++ clang/test/Interpreter/incremental-mode.cpp
@@ -0,0 +1,3 @@
+// RUN: clang-repl -Xcc -E
+// RUN: clang-repl -Xcc -emit-llvm
+// expected-no-diagnostics
Index: clang/lib/Interpreter/IncrementalParser.cpp
===================================================================
--- clang/lib/Interpreter/IncrementalParser.cpp
+++ clang/lib/Interpreter/IncrementalParser.cpp
@@ -69,8 +69,12 @@
LLVM_FALLTHROUGH;
case frontend::EmitAssembly:
LLVM_FALLTHROUGH;
+ case frontend::EmitBC:
+ LLVM_FALLTHROUGH;
case frontend::EmitObj:
LLVM_FALLTHROUGH;
+ case frontend::PrintPreprocessedInput:
+ LLVM_FALLTHROUGH;
case frontend::EmitLLVMOnly:
Act.reset(new EmitLLVMOnlyAction(&LLVMCtx));
break;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125946.449196.patch
Type: text/x-patch
Size: 956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220802/19bd4616/attachment.bin>
More information about the cfe-commits
mailing list