File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -1458,6 +1458,30 @@ unsigned clangsharp_Cursor_getHasDefaultArg(CXCursor C) {
14581458 return 0 ;
14591459}
14601460
1461+ unsigned clangsharp_Cursor_getHasUnparsedDefaultArg (CXCursor C) {
1462+ if (isDeclOrTU (C.kind )) {
1463+ const Decl* D = getCursorDecl (C);
1464+
1465+ if (const ParmVarDecl* PVD = dyn_cast<ParmVarDecl>(D)) {
1466+ return PVD->hasUnparsedDefaultArg ();
1467+ }
1468+ }
1469+
1470+ return 0 ;
1471+ }
1472+
1473+ unsigned clangsharp_Cursor_getHasUninstantiatedDefaultArg (CXCursor C) {
1474+ if (isDeclOrTU (C.kind )) {
1475+ const Decl* D = getCursorDecl (C);
1476+
1477+ if (const ParmVarDecl* PVD = dyn_cast<ParmVarDecl>(D)) {
1478+ return PVD->hasUninstantiatedDefaultArg ();
1479+ }
1480+ }
1481+
1482+ return 0 ;
1483+ }
1484+
14611485unsigned clangsharp_Cursor_getHasElseStorage (CXCursor C) {
14621486 if (isStmtOrExpr (C.kind )) {
14631487 const Stmt* S = getCursorStmt (C);
You can’t perform that action at this time.
0 commit comments