MyDeveloperDay added inline comments.
================
Comment at: lib/Format/TokenAnnotator.cpp:1079
if (Style.Language == FormatStyle::LK_Proto && Line.Level == 0 &&
- CurrentToken->is(Keywords.kw_option)) {
+ (CurrentToken->is(Keywords.kw_option) ||
+ CurrentToken->is(Keywords.kw_package))) {
----------------
Nit:
could we use
```
CurrentToken->isOneOf(Keywords.kw_option,Keyswords.kw_package)
```
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59627/new/
https://reviews.llvm.org/D59627
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits