mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 12:21:06 +01:00
Put python object definition and assignment on same line (#3057)
Where there was an object initialization immediately followed by assignment I condensed it to one line, which seems to be the convention looking at other files. I also deleted the repetition of 'of' in some c++ comments because it was grammatically incorrect. --------- Co-authored-by: Clayton Gearhart <claytongearhart240@gmail.com>
This commit is contained in:
co-authored by
Clayton Gearhart
parent
da35a9806a
commit
3628e22ca2
@@ -174,7 +174,7 @@ class RewriteBuilder : public clang::RecursiveASTVisitor<RewriteBuilder> {
|
||||
};
|
||||
|
||||
// An `ASTConsumer` which, when executed, populates a `std::string` with the
|
||||
// text of a Carbon source file which is a best approximation of of the
|
||||
// text of a Carbon source file which is a best approximation of the
|
||||
// semantics of the corresponding C++ translation unit defined by the consumed
|
||||
// AST.
|
||||
class MigrationConsumer : public clang::ASTConsumer {
|
||||
@@ -193,7 +193,7 @@ class MigrationConsumer : public clang::ASTConsumer {
|
||||
|
||||
// An `ASTFrontendAction` which constructs a `MigrationConsumer` and invokes it
|
||||
// on an AST, populating a `std::string` with the text of a Carbon source file
|
||||
// which is a best approximation of of the semantics of the corresponding C++
|
||||
// which is a best approximation of the semantics of the corresponding C++
|
||||
// translation unit defined by the consumed AST.
|
||||
class MigrationAction : public clang::ASTFrontendAction {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user