forked from OSchip/llvm-project
Fix a silly typo and its pasteo. Thanks to Francois Pichet for noticing my mistake
llvm-svn: 114075
This commit is contained in:
parent
c0e9b8d8bb
commit
ae18530d03
|
@ -3365,7 +3365,7 @@ unsigned clang_isCursorDefinition(CXCursor C) {
|
|||
}
|
||||
|
||||
unsigned clang_getNumOverloadedDecls(CXCursor C) {
|
||||
if (!C.kind == CXCursor_OverloadedDeclRef)
|
||||
if (C.kind != CXCursor_OverloadedDeclRef)
|
||||
return 0;
|
||||
|
||||
OverloadedDeclRefStorage Storage = getCursorOverloadedDeclRef(C).first;
|
||||
|
@ -3388,7 +3388,7 @@ unsigned clang_getNumOverloadedDecls(CXCursor C) {
|
|||
}
|
||||
|
||||
CXCursor clang_getOverloadedDecl(CXCursor cursor, unsigned index) {
|
||||
if (!cursor.kind == CXCursor_OverloadedDeclRef)
|
||||
if (cursor.kind != CXCursor_OverloadedDeclRef)
|
||||
return clang_getNullCursor();
|
||||
|
||||
if (index >= clang_getNumOverloadedDecls(cursor))
|
||||
|
|
Loading…
Reference in New Issue