diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-01-26 17:06:03 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-01-26 17:06:03 +0000 |
| commit | 27b4fa994d7bf7a9a5c49ffc860e60b814985957 (patch) | |
| tree | e0f6cc92e962b55426d67e6f81b81bf838778b15 /clang/tools/CIndex/CXSourceLocation.h | |
| parent | 86a8c957dac585dd59f6c5ece4f911f5ad4921d4 (diff) | |
| download | bcm5719-llvm-27b4fa994d7bf7a9a5c49ffc860e60b814985957.tar.gz bcm5719-llvm-27b4fa994d7bf7a9a5c49ffc860e60b814985957.zip | |
Introduce a CIndex API for lexing the raw tokens within a given source
range. The token-annotation function does nothing, yet.
llvm-svn: 94551
Diffstat (limited to 'clang/tools/CIndex/CXSourceLocation.h')
| -rw-r--r-- | clang/tools/CIndex/CXSourceLocation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/CIndex/CXSourceLocation.h b/clang/tools/CIndex/CXSourceLocation.h index 0eab273c35a..1f15f0832cc 100644 --- a/clang/tools/CIndex/CXSourceLocation.h +++ b/clang/tools/CIndex/CXSourceLocation.h @@ -38,8 +38,8 @@ static inline CXSourceLocation translateSourceLocation(ASTContext &Context, static inline CXSourceRange translateSourceRange(ASTContext &Context, SourceRange R) { CXSourceRange Result = { &Context, - R.getBegin().getRawEncoding(), - R.getEnd().getRawEncoding() }; + R.getBegin().getRawEncoding(), + R.getEnd().getRawEncoding() }; return Result; } |

