summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/annotate-tokens-include.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-05-06 00:22:25 +0000
committerTed Kremenek <kremenek@apple.com>2010-05-06 00:22:25 +0000
commit5b0773e20149485862fbe1520b08940c30f4cb6e (patch)
treeff7354a9b52e774d2ced96b019e596eb0841e704 /clang/test/Index/annotate-tokens-include.h
parentf3983652eb26d2f38cd3b1375f9b94d12e31787a (diff)
downloadbcm5719-llvm-5b0773e20149485862fbe1520b08940c30f4cb6e.tar.gz
bcm5719-llvm-5b0773e20149485862fbe1520b08940c30f4cb6e.zip
Workaround a really serious caching bug in SourceManager::isBeforeInTranslationUnit() where the
method will sometimes return different results for the same input SourceLocations. I haven't unraveled this method completely yet, so this truly is a workaround until a better fix comes along. llvm-svn: 103143
Diffstat (limited to 'clang/test/Index/annotate-tokens-include.h')
-rw-r--r--clang/test/Index/annotate-tokens-include.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Index/annotate-tokens-include.h b/clang/test/Index/annotate-tokens-include.h
new file mode 100644
index 00000000000..5d5f8f0c9e7
--- /dev/null
+++ b/clang/test/Index/annotate-tokens-include.h
@@ -0,0 +1 @@
+int foo();
OpenPOWER on IntegriCloud