You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see no set of options I can set to prevent clang-format from doing that. In fact, I'd love it if there was an option that would expand such inlined function bodies.
The text was updated successfully, but these errors were encountered:
Extended Description
Given the following content:
TranslationUnitStore::~TranslationUnitStore() {
RemoveAll();
}
std::string TextToInsertInBuffer() {
return original_string_;
}
std::string MainCompletionText() {
return everything_except_return_type_;
}
std::string ExtraMenuInfo() {
return return_type_;
}
std::string DetailedInfoForPreviewWindow() {
return detailed_info_;
}
clang-format will produce this:
TranslationUnitStore::~TranslationUnitStore() { RemoveAll(); }
std::string TextToInsertInBuffer() { return original_string_; }
std::string MainCompletionText() { return everything_except_return_type_; }
std::string ExtraMenuInfo() { return return_type_; }
std::string DetailedInfoForPreviewWindow() { return detailed_info_; }
I see no set of options I can set to prevent clang-format from doing that. In fact, I'd love it if there was an option that would expand such inlined function bodies.
The text was updated successfully, but these errors were encountered: