diff options
Diffstat (limited to 'clang/tools/libclang/CXSourceLocation.cpp')
-rw-r--r-- | clang/tools/libclang/CXSourceLocation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/libclang/CXSourceLocation.cpp b/clang/tools/libclang/CXSourceLocation.cpp index c17449ae364..f78b687a69e 100644 --- a/clang/tools/libclang/CXSourceLocation.cpp +++ b/clang/tools/libclang/CXSourceLocation.cpp @@ -122,7 +122,7 @@ CXSourceLocation clang_getLocation(CXTranslationUnit TU, CXFile file, unsigned line, unsigned column) { - if (cxtu::isNotUseableTU(TU)) { + if (cxtu::isNotUsableTU(TU)) { LOG_BAD_TU(TU); return clang_getNullLocation(); } @@ -155,7 +155,7 @@ CXSourceLocation clang_getLocation(CXTranslationUnit TU, CXSourceLocation clang_getLocationForOffset(CXTranslationUnit TU, CXFile file, unsigned offset) { - if (cxtu::isNotUseableTU(TU)) { + if (cxtu::isNotUsableTU(TU)) { LOG_BAD_TU(TU); return clang_getNullLocation(); } |