[PATCH] D120315: [clang-format] fix preprocessor nesting afterhttps://github.com/llvm/llvm-project/commit/529aa4b011c4ae808d658022ef643c44dd9b2c9c

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 22 05:46:22 PST 2022


MyDeveloperDay added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:22727
       guessLanguage("foo.h", "#define FOO(...) auto bar = [] __VA_ARGS__;"));
+  // Only only one of the two preprocessor regions has ObjC-like code.
+  EXPECT_EQ(FormatStyle::LK_ObjC,
----------------
Only only


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120315/new/

https://reviews.llvm.org/D120315



More information about the cfe-commits mailing list