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) {
1458
1458
return 0 ;
1459
1459
}
1460
1460
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
+
1461
1485
unsigned clangsharp_Cursor_getHasElseStorage (CXCursor C) {
1462
1486
if (isStmtOrExpr (C.kind )) {
1463
1487
const Stmt* S = getCursorStmt (C);
You can’t perform that action at this time.
0 commit comments