Author: Davide Italiano Date: 2024-12-14T18:25:02Z New Revision: 9ddcaed3a64c2a187a0cfff4ba8f989c665ae1e5
URL: https://github.com/llvm/llvm-project/commit/9ddcaed3a64c2a187a0cfff4ba8f989c665ae1e5 DIFF: https://github.com/llvm/llvm-project/commit/9ddcaed3a64c2a187a0cfff4ba8f989c665ae1e5.diff LOG: Revert "[Clang] Interpreter test should not depend on system header (#119903)" This reverts commit 8ab6912831277d87838518c5f775f79d14616860. Added: Modified: clang/test/Interpreter/crash.cpp Removed: clang/test/Interpreter/Inputs/vector ################################################################################ diff --git a/clang/test/Interpreter/Inputs/vector b/clang/test/Interpreter/Inputs/vector deleted file mode 100644 index 4fc5d04f4718c7..00000000000000 --- a/clang/test/Interpreter/Inputs/vector +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef VECTOR -#define VECTOR -namespace std { -template <typename> -class vector { -public: - vector(); -}; -} // namespace std -#endif // VECTOR diff --git a/clang/test/Interpreter/crash.cpp b/clang/test/Interpreter/crash.cpp index 9a606983524d82..1ab24b0febfa15 100644 --- a/clang/test/Interpreter/crash.cpp +++ b/clang/test/Interpreter/crash.cpp @@ -5,7 +5,7 @@ // // RUN: split-file %s %t // -// RUN: %clang++ -Xclang -nostdsysteminc -I%S/Inputs/ -std=c++20 -fPIC -c %t/vec.cpp -o %t/vec.o +// RUN: %clang++ -std=c++20 -fPIC -c %t/vec.cpp -o %t/vec.o // RUN: %clang++ -shared %t/vec.o -o %t/vec.so // // RUN: cat %t/Test.cpp | LD_LIBRARY_PATH=%t:$LD_LIBRARY_PATH clang-repl _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits