[clang] [Format] Fix isStartOfName to recognize attributes (PR #76804)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 17:23:01 PST 2024


================
@@ -8498,9 +8498,6 @@ TEST_F(FormatTest, BreaksFunctionDeclarationsWithTrailingTokens) {
                "    __attribute__((unused));");
 
   Style = getGoogleStyle();
-  ASSERT_THAT(Style.AttributeMacros,
----------------
owenca wrote:

Please also delete line 10:
```
#include "gmock/gmock.h"
```

https://github.com/llvm/llvm-project/pull/76804


More information about the cfe-commits mailing list