This revision was automatically updated to reflect the committed changes.
Closed by commit rL322678: [clang-format] adds enclosing function detection to
raw string formatting (authored by krasimir, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
This revision was automatically updated to reflect the committed changes.
Closed by commit rC322678: [clang-format] adds enclosing function detection to
raw string formatting (authored by krasimir, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D42167?vs=130177=130191#toc
bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.
lgtm
Repository:
rC Clang
https://reviews.llvm.org/D42167
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
krasimir updated this revision to Diff 130177.
krasimir added a comment.
- Format a function
Repository:
rC Clang
https://reviews.llvm.org/D42167
Files:
docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h
lib/Format/ContinuationIndenter.cpp
bkramer added inline comments.
Comment at: lib/Format/ContinuationIndenter.cpp:1454
+// found.
+static StringRef getEnclosingFunctionName(const FormatToken& Current) {
+ // Look for: 'function(' or 'function(' before Current.
This function doesn't look
krasimir updated this revision to Diff 130142.
krasimir added a comment.
- Update comments
Repository:
rC Clang
https://reviews.llvm.org/D42167
Files:
docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h
lib/Format/ContinuationIndenter.cpp
lib/Format/ContinuationIndenter.h
krasimir created this revision.
Herald added subscribers: cfe-commits, klimek.
This patch adds enclosing function detection to raw string formatting.
Repository:
rC Clang
https://reviews.llvm.org/D42167
Files:
docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h