Author: Haojian Wu Date: 2022-12-08T12:48:05+01:00 New Revision: 71a014fe9e92db40279f3901c9f03a048ec4da3f
URL: https://github.com/llvm/llvm-project/commit/71a014fe9e92db40279f3901c9f03a048ec4da3f DIFF: https://github.com/llvm/llvm-project/commit/71a014fe9e92db40279f3901c9f03a048ec4da3f.diff LOG: [clangd] Add a newline-eof to the system-include-extractor.test This test is executed with config enabled, and it fails if there is an extra (-Wnewline-eof) compile flag from the user config. Added: Modified: clang-tools-extra/clangd/test/system-include-extractor.test Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/test/system-include-extractor.test b/clang-tools-extra/clangd/test/system-include-extractor.test index cb894623a3b68..49bb8a6101338 100644 --- a/clang-tools-extra/clangd/test/system-include-extractor.test +++ b/clang-tools-extra/clangd/test/system-include-extractor.test @@ -53,7 +53,7 @@ "uri": "file://INPUT_DIR/the-file.cpp", "languageId":"cpp", "version":1, - "text":"#include <a.h>\n#include <b.h>\n#if !defined(__ARM_ARCH) || !defined(__gnu_linux__)\n#error \"Invalid target\"\n#endif" + "text":"#include <a.h>\n#include <b.h>\n#if !defined(__ARM_ARCH) || !defined(__gnu_linux__)\n#error \"Invalid target\"\n#endif\n" } } } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits