summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/ContinuationIndenter.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-02-03 14:22:33 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-02-03 14:22:33 +0000
commit776b417634b2993a68d454d0d7581b4e937108c3 (patch)
tree3f0be5be0931352146924d48cc2dd67367a697da /clang/lib/Format/ContinuationIndenter.cpp
parent320f79c8aa1066b0f46b84eb1564fcf705da5922 (diff)
downloadbcm5719-llvm-776b417634b2993a68d454d0d7581b4e937108c3.tar.gz
bcm5719-llvm-776b417634b2993a68d454d0d7581b4e937108c3.zip
[Sema][ObjC++] Typo correction should handle ivars and properties
After r260016 and r260017 disabled typo correction for ivars and properties clang didn't report errors about unresolved identifier in the base of ivar and property ref expressions. This meant that clang invoked CodeGen on invalid AST which then caused a crash. This commit re-enables typo correction for ivars and properites, and fixes the PR25113 & PR26486 (that were originally fixed in r260017 and r260016) in a different manner by transforming the Objective-C ivar reference expression with 'IsFreeIvar' preserved. rdar://30310772 llvm-svn: 294008
Diffstat (limited to 'clang/lib/Format/ContinuationIndenter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud