diff options
author | Alexander Kornienko <alexfh@google.com> | 2013-02-01 12:35:51 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2013-02-01 12:35:51 +0000 |
commit | ae54121c15cdd38f415f6fdda48215ab5e4dcee1 (patch) | |
tree | d2db9a4d101bea28e4e01b567172af3dedcbb04b /lib/AST/Expr.cpp | |
parent | 67581942138bb5ce25bcf3a67fff278ca4fa5f7d (diff) |
Use const visitors in ASTDumper.
http://llvm-reviews.chandlerc.com/D355
Patch by Philip Craig!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174171 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r-- | lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index 74ef46ff75..644fab9c8e 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp @@ -771,7 +771,7 @@ StringLiteral *StringLiteral::CreateEmpty(ASTContext &C, unsigned NumStrs) { return SL; } -void StringLiteral::outputString(raw_ostream &OS) { +void StringLiteral::outputString(raw_ostream &OS) const { switch (getKind()) { case Ascii: break; // no prefix. case Wide: OS << 'L'; break; |