Annotate constructor/destructor names as FunctionDeclarationName.
Details
Details
Diff Detail
Diff Detail
Event Timeline
clang/lib/Format/TokenAnnotator.cpp | ||
---|---|---|
3103 | Is a bit clearer. |
clang/lib/Format/TokenAnnotator.cpp | ||
---|---|---|
3103 | I moved this function up to here from below and only removed a couple of consts. I can clean it up in another patch. |
Comment Actions
@kadircet shouldn't you at least say why it got reverted? Even better state your problem and give a chance to fix before you revert?
Comment Actions
Hi, https://reviews.llvm.org/rG7590b7657004b33b1a12b05f8e9174db3e192f8c already has that context.
clang/lib/Format/TokenAnnotator.cpp | ||
---|---|---|
3134 | When simplifying the function, I forgot that we are in the inner loop here and thus break won't exit the outer loop. |
Is a bit clearer.