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

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 3 02:34:18 PST 2024


https://github.com/kadircet approved this pull request.

can you also add a test to clang/unittests/Format/TokenAnnotatorTest.cpp that ensures trailing attribute-like macros receive `StartOfName` annotation to make sure we don't regress the signal in the future?

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


More information about the cfe-commits mailing list