[PATCH] D30487: ClangFormat - Add option to break before inheritance separation operator in class declaration
Kim Gräsman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 10 06:51:57 PST 2017
kimgr added a comment.
A few more 'inhertiance' left, otherwise spelling looks good to me :-)
================
Comment at: lib/Format/TokenAnnotator.cpp:679
Tok->Type = TT_CtorInitializerComma;
+ else if (Contexts.back().InInhertianceList)
+ Tok->Type = TT_InheritanceComma;
----------------
This still says 'Inhertiance'
================
Comment at: lib/Format/TokenAnnotator.cpp:950
bool InCtorInitializer = false;
+ bool InInhertianceList = false;
bool CaretFound = false;
----------------
'Inhertiance'
Repository:
rL LLVM
https://reviews.llvm.org/D30487
More information about the cfe-commits
mailing list