[PATCH] D65940: [clang-format] fix crash involving invalid preprocessor line

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 8 04:54:52 PDT 2019


krasimir marked an inline comment as done.
krasimir added inline comments.


================
Comment at: unittests/Format/FormatTest.cpp:3090
                Style);
+  // Don't crash if there is nothing following #elif.
+  verifyFormat("#if 1\n"
----------------
gribozavr wrote:
> `// #elif directive without a condition.` -- to follow the existing comment format in other tests.
> 
done


Repository:
  rC Clang

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

https://reviews.llvm.org/D65940





More information about the cfe-commits mailing list