Index: clang/lib/Parse/ParseStmt.cpp =================================================================== --- clang/lib/Parse/ParseStmt.cpp +++ clang/lib/Parse/ParseStmt.cpp @@ -235,6 +235,7 @@ case tok::kw___attribute: { GNUAttributeLoc = Tok.getLocation(); + Attrs.Range.setBegin(GNUAttributeLoc); ParseGNUAttributes(Attrs); goto Retry; }