diff options
Diffstat (limited to 'tools/libclang/CXCursor.h')
-rw-r--r-- | tools/libclang/CXCursor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libclang/CXCursor.h b/tools/libclang/CXCursor.h index 957d51961a..fee3bac953 100644 --- a/tools/libclang/CXCursor.h +++ b/tools/libclang/CXCursor.h @@ -56,7 +56,7 @@ CXCursor MakeCXCursor(const clang::Decl *D, CXTranslationUnit TU, CXCursor MakeCXCursor(const clang::Stmt *S, const clang::Decl *Parent, CXTranslationUnit TU, SourceRange RegionOfInterest = SourceRange()); -CXCursor MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU = 0); +CXCursor MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU = nullptr); /// \brief Create an Objective-C superclass reference at the given location. CXCursor MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, @@ -172,7 +172,7 @@ class MacroExpansionCursor { CXCursor C; bool isPseudo() const { - return C.data[1] != 0; + return C.data[1] != nullptr; } const MacroDefinition *getAsMacroDefinition() const { assert(isPseudo()); |