summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-02-27 23:00:14 +0000
committerGreg Clayton <gclayton@apple.com>2012-02-27 23:00:14 +0000
commit70a08d99c8152231efc0f921a08308cd69902432 (patch)
tree474b4d07a3a3bbd6fed9d84f79f93721f19e55bf /clang/lib/CodeGen/CodeGenModule.cpp
parent688793da4ab0cb47b6b1770680286648481d8d65 (diff)
downloadbcm5719-llvm-70a08d99c8152231efc0f921a08308cd69902432.tar.gz
bcm5719-llvm-70a08d99c8152231efc0f921a08308cd69902432.zip
<rdar://problem/10017623>
Fixed an error where if we tried to format a ValueObject using a format that was incorrect for a variable, then it would set ValueObject::m_error to an error state and stop the value from being able to be updated. We now leave m_error alone and only let the update value code change that. Any errors in formatting will return a valid value as C string that contains an error string. This lets us then modify the format and redisplay without any issues. llvm-svn: 151581
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud