diff options
Diffstat (limited to 'include/clang/AST/ExprCXX.h')
-rw-r--r-- | include/clang/AST/ExprCXX.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/AST/ExprCXX.h b/include/clang/AST/ExprCXX.h index 4ea1ef4aa9..2a94151e89 100644 --- a/include/clang/AST/ExprCXX.h +++ b/include/clang/AST/ExprCXX.h @@ -178,9 +178,11 @@ public: /// \brief Retrieve the location of the cast operator keyword, e.g., /// "static_cast". SourceLocation getOperatorLoc() const { return Loc; } + void setOperatorLoc(SourceLocation const& OpLoc) { Loc = OpLoc; } /// \brief Retrieve the location of the closing parenthesis. SourceLocation getRParenLoc() const { return RParenLoc; } + void setRParenLoc(SourceLocation const& Loc) { RParenLoc = Loc; } SourceRange getSourceRange() const { return SourceRange(Loc, RParenLoc); |