diff options
Diffstat (limited to 'tools/libclang/CXCursor.cpp')
| -rw-r--r-- | tools/libclang/CXCursor.cpp | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/tools/libclang/CXCursor.cpp b/tools/libclang/CXCursor.cpp index fb61249a778f..b4ad0595cc53 100644 --- a/tools/libclang/CXCursor.cpp +++ b/tools/libclang/CXCursor.cpp @@ -305,6 +305,10 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, K = CXCursor_IntegerLiteral; break; + case Stmt::FixedPointLiteralClass: + K = CXCursor_FixedPointLiteral; + break; + case Stmt::FloatingLiteralClass: K = CXCursor_FloatingLiteral; break; @@ -1196,19 +1200,19 @@ int clang_Cursor_getNumTemplateArguments(CXCursor C) { } enum CXGetTemplateArgumentStatus { - /** \brief The operation completed successfully */ + /** The operation completed successfully */ CXGetTemplateArgumentStatus_Success = 0, - /** \brief The specified cursor did not represent a FunctionDecl. */ + /** The specified cursor did not represent a FunctionDecl. */ CXGetTemplateArgumentStatus_CursorNotFunctionDecl = -1, - /** \brief The specified cursor was not castable to a FunctionDecl. */ + /** The specified cursor was not castable to a FunctionDecl. */ CXGetTemplateArgumentStatus_BadFunctionDeclCast = -2, - /** \brief A NULL FunctionTemplateSpecializationInfo was retrieved. */ + /** A NULL FunctionTemplateSpecializationInfo was retrieved. */ CXGetTemplateArgumentStatus_NullTemplSpecInfo = -3, - /** \brief An invalid (OOB) argument index was specified */ + /** An invalid (OOB) argument index was specified */ CXGetTemplateArgumentStatus_InvalidIndex = -4 }; @@ -1469,17 +1473,17 @@ void clang_getOverriddenCursors(CXCursor cursor, assert(cxcursor::getCursorTU(backRefCursor) == TU); Vec->push_back(backRefCursor); - // Get the overriden cursors. + // Get the overridden cursors. cxcursor::getOverriddenCursors(cursor, *Vec); - // Did we get any overriden cursors? If not, return Vec to the pool + // Did we get any overridden cursors? If not, return Vec to the pool // of available cursor vectors. if (Vec->size() == 1) { pool.AvailableCursors.push_back(Vec); return; } - // Now tell the caller about the overriden cursors. + // Now tell the caller about the overridden cursors. assert(Vec->size() > 1); *overridden = &((*Vec)[1]); *num_overridden = Vec->size() - 1; |
