aboutsummaryrefslogtreecommitdiff
path: root/lib/Index
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
commitf2c87bd0368775927ead93e0dee3e4f3ca3f9a63 (patch)
treeb6b5a3f589cef34a8033651f587f63eadd43c54b /lib/Index
parentc89724cc6dcb178ec79c76d7e629d9a7b5d83418 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index')
-rw-r--r--lib/Index/ResolveLocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Index/ResolveLocation.cpp b/lib/Index/ResolveLocation.cpp
index 81a5de44bf..4bb15943bb 100644
--- a/lib/Index/ResolveLocation.cpp
+++ b/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) {