summaryrefslogtreecommitdiff
path: root/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2013-11-04 18:59:34 +0000
committerKaelyn Uhrain <rikka@google.com>2013-11-04 18:59:34 +0000
commitb3e277222ac7e2148fc8ce2d5cf596231e1ee926 (patch)
tree8dac6a9eb2a9dfd9f99d24a3bf24803ddca1d27c /lib/Basic/Module.cpp
parent71fdc127d21bb138b4bbc2b2ce1db460715271f1 (diff)
downloadclang-b3e277222ac7e2148fc8ce2d5cf596231e1ee926.tar.gz
clang-b3e277222ac7e2148fc8ce2d5cf596231e1ee926.tar.bz2
clang-b3e277222ac7e2148fc8ce2d5cf596231e1ee926.tar.xz
Try to correct a mistyped "-" or ">" to "->" for some C++ cases.
Similar C code isn't caught as it seems to hit a different code path. Also, as the check is only done for record pointers, cases involving an overloaded operator-> are not handled either. Note that the reason this check is done in the parser instead of Sema is not related to having enough knowledge about the current state as it is about being able to fix up the parser's state to be able to recover and traverse the correct code paths. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions