summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/RecordStreamer.cpp
diff options
context:
space:
mode:
authorKaelyn Takata <rikka@google.com>2014-10-27 18:07:37 +0000
committerKaelyn Takata <rikka@google.com>2014-10-27 18:07:37 +0000
commit6c759519bb374cbe9866d602665f4048b597a7e6 (patch)
tree7ad06cf4580b95d96ea34734b742f3ac9ea1aee5 /llvm/lib/Object/RecordStreamer.cpp
parent0d6a3edccedde68f8042026dfee6ed772796d0d9 (diff)
downloadbcm5719-llvm-6c759519bb374cbe9866d602665f4048b597a7e6.tar.gz
bcm5719-llvm-6c759519bb374cbe9866d602665f4048b597a7e6.zip
Start adding the infrastructure for handling TypoExprs.
Part of the infrastructure is a map from a TypoExpr to the Sema-specific state needed to correct it, along with helpers to ease dealing with the state. The the typo count is propagated up the stack of ExpressionEvaluationContextRecords when one is popped off of to avoid accidentally dropping TypoExprs on the floor. For example, the attempted correction of g() in test/CXX/class/class.mem/p5-0x.cpp happens with an ExpressionEvaluationContextRecord that is popped off the stack prior to ActOnFinishFullExpr being called and the tree transform for TypoExprs being run. llvm-svn: 220695
Diffstat (limited to 'llvm/lib/Object/RecordStreamer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud