curdeius added inline comments.

================
Comment at: clang/lib/Format/Format.cpp:2037
+        if (Line->First->TokenText.startswith("#") ||
+            Line->First->TokenText == "__pragma") {
+          continue;
----------------
Maybe you should also handle MS-specific `_Pragma`?
https://docs.microsoft.com/en-us/cpp/preprocessor/pragma-directives-and-the-pragma-keyword?view=msvc-160


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92922

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to