summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.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
commit3fb1710910bf320c1b08e59faacaf1e203eca319 (patch)
treee528d9c2fb398073f0c2880c6578c0f3a5c32974 /llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
parent289ef7d99227a820d6b26c826a8067d585cfa603 (diff)
downloadbcm5719-llvm-3fb1710910bf320c1b08e59faacaf1e203eca319.tar.gz
bcm5719-llvm-3fb1710910bf320c1b08e59faacaf1e203eca319.zip
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. llvm-svn: 194002
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud