summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/ResolveLocation.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-01-15 19:40:17 +0000
committerDouglas Gregor <dgregor@apple.com>2010-01-15 19:40:17 +0000
commit082c3e69eb43c76c5b79cdf684f7a83f76dd78fa (patch)
tree31a90ac1d6285a60724eb5f021a19c6e8c247686 /clang/lib/Index/ResolveLocation.cpp
parente17df0b7f006e5500a90276ea08b2dddb88e6c1b (diff)
downloadbcm5719-llvm-082c3e69eb43c76c5b79cdf684f7a83f76dd78fa.tar.gz
bcm5719-llvm-082c3e69eb43c76c5b79cdf684f7a83f76dd78fa.zip
Add -cursor-at=file:line:column command line option to c-index-test,
to directly check the results of clang_getCursor(). Also, start migrating some index-test tests over to c-index test [*] and some grep-using tests over to FileCheck. llvm-svn: 93537
Diffstat (limited to 'clang/lib/Index/ResolveLocation.cpp')
-rw-r--r--clang/lib/Index/ResolveLocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/ResolveLocation.cpp b/clang/lib/Index/ResolveLocation.cpp
index 81a5de44bf5..4bb15943bb4 100644
--- a/clang/lib/Index/ResolveLocation.cpp
+++ b/clang/lib/Index/ResolveLocation.cpp
@@ -264,7 +264,7 @@ ASTLocation DeclLocResolver::VisitFunctionDecl(FunctionDecl *D) {
return ASTLocation(D);
// Second, search through the declarations that are part of the function.
- // If we find he location there, we won't have to search through its body.
+ // If we find the location there, we won't have to search through its body.
for (DeclContext::decl_iterator
I = D->decls_begin(), E = D->decls_end(); I != E; ++I) {
OpenPOWER on IntegriCloud