[clang] [clang-format] Fix a regression in dumping the config (PR #80628)

Ben Hamilton via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 5 15:01:04 PST 2024


================
@@ -0,0 +1,3 @@
+// RUN: clang-format -dump-config 2>&1 | FileCheck %s
----------------
bhamiltoncx wrote:

Can you also add a test with `clang-format --assume-filename=foo.m -dump-config 2>&1 | FileCheck %s`?

It should result in `Language: ObjC`.


https://github.com/llvm/llvm-project/pull/80628


More information about the cfe-commits mailing list