[all-commits] [llvm/llvm-project] 7b2d62: [clang-format] PR42434 Remove preprocessor and pra...
MyDeveloperDay via All-commits
all-commits at lists.llvm.org
Thu Dec 10 03:14:19 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7b2d62fd7f7befda2ce327d25075b0aac9bc6780
https://github.com/llvm/llvm-project/commit/7b2d62fd7f7befda2ce327d25075b0aac9bc6780
Author: mydeveloperday <mydeveloperday at gmail.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M clang/lib/Format/Format.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] PR42434 Remove preprocessor and pragma lines from ObjectiveC guess
clang-format see the `disable:` in __pragma(warning(disable:)) as ObjectiveC method call
Remove any line starting with `#` or __pragma line from being part of the ObjectiveC guess
https://bugs.llvm.org/show_bug.cgi?id=42434
Reviewed By: curdeius, krasimir
Differential Revision: https://reviews.llvm.org/D92922
More information about the All-commits
mailing list