We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider this minimal Objective-C header:
#import <Foundation/Foundation.h> @interface Foo : NSObject /** */- (void)foo; @end
If I run clang-format on it once, I get this diff against the original file:
@@ -3,6 +3,7 @@ @interface Foo : NSObject /** - */- (void)foo; + */ +-(void)foo; @end
If I now run it again, I get this diff against the output of the first run:
@@ -4,6 +4,6 @@ /** */ --(void)foo; +- (void)foo; @end
Ideally, running clang-format would be idempotent, so that CI that runs clang-format on the tree and fails on any observed changes can work correctly.
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-clang-format
Sorry, something went wrong.
clang-format
[clang-format] Fix a bug in annotating ObjCMethodSpecifier
957c211
Fixes llvm#58202.
3063153
[clang-format] Fix a bug in annotating ObjCMethodSpecifier (llvm#127159)
1af4354
eefaff9
f19dcd8
owenca
Successfully merging a pull request may close this issue.
Consider this minimal Objective-C header:
If I run clang-format on it once, I get this diff against the original file:
If I now run it again, I get this diff against the output of the first run:
Ideally, running clang-format would be idempotent, so that CI that runs clang-format on the tree and fails on any observed changes can work correctly.
The text was updated successfully, but these errors were encountered: