mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 10:06:05 +00:00

Commit d813af73f70f addressed a regression introduced by commit 3791b3fca6ea but caused `clang-format -dump-config` to "hang". This patch reverts changes to ClangFormat.cpp by both commits and reworks the cleanup. Fixes #80621.
9 lines
176 B
Objective-C
9 lines
176 B
Objective-C
// RUN: clang-format -assume-filename=foo.m -dump-config | FileCheck %s
|
|
|
|
// RUN: clang-format -dump-config - < %s | FileCheck %s
|
|
|
|
// CHECK: Language: ObjC
|
|
|
|
@interface Foo
|
|
@end
|