diff options
Diffstat (limited to 'lib/Analysis/ValueState.cpp')
-rw-r--r-- | lib/Analysis/ValueState.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/ValueState.cpp b/lib/Analysis/ValueState.cpp index bba2e06a18..8027ce9fcb 100644 --- a/lib/Analysis/ValueState.cpp +++ b/lib/Analysis/ValueState.cpp @@ -264,6 +264,9 @@ RVal ValueStateManager::GetRVal(ValueState* St, Expr* E) { case Stmt::IntegerLiteralClass: { return NonLVal::MakeVal(BasicVals, cast<IntegerLiteral>(E)); } + + case Stmt::StringLiteralClass: + return LVal::MakeVal(cast<StringLiteral>(E)); // Casts where the source and target type are the same // are no-ops. We blast through these to get the descendant |