aaron.ballman added inline comments.
================
Comment at: lib/Format/TokenAnnotator.cpp:346
+ bool parseCpp11AttributeSpecifier(FormatToken *Tok) {
+ if (!Style.isCpp()) return false;
+ if (!Tok || !Tok->startsSequence(tok::l_square, tok::l_square))
----------------
C can use this syntax as well with `-fdouble-square-bracket-attributes`, which
would be good to also support.
Repository:
rC Clang
https://reviews.llvm.org/D43902
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits