[NFC] Fix typo in comment
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Fri, 2 Jul 2021 10:39:17 +0000 (11:39 +0100)
committerSven van Haastregt <sven.vanhaastregt@arm.com>
Fri, 2 Jul 2021 10:39:17 +0000 (11:39 +0100)
Reported-by: Marco Cali <marco.cali@arm.com>
clang/lib/Format/TokenAnnotator.cpp

index aa69ff8..2b83ff4 100644 (file)
@@ -363,7 +363,7 @@ private:
             Left->Previous && Left->Previous->is(tok::l_paren)) {
           // Detect the case where macros are used to generate lambdas or
           // function bodies, e.g.:
-          //   auto my_lambda = MARCO((Type *type, int i) { .. body .. });
+          //   auto my_lambda = MACRO((Type *type, int i) { .. body .. });
           for (FormatToken *Tok = Left; Tok != CurrentToken; Tok = Tok->Next) {
             if (Tok->is(TT_BinaryOperator) &&
                 Tok->isOneOf(tok::star, tok::amp, tok::ampamp))