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 @@ -1466,6 +1466,30 @@ unsigned clangsharp_Cursor_getHasDefaultArg(CXCursor C) {
1466
1466
return 0 ;
1467
1467
}
1468
1468
1469
+ unsigned clangsharp_Cursor_getHasUnparsedDefaultArg (CXCursor C) {
1470
+ if (isDeclOrTU (C.kind )) {
1471
+ const Decl* D = getCursorDecl (C);
1472
+
1473
+ if (const ParmVarDecl* PVD = dyn_cast<ParmVarDecl>(D)) {
1474
+ return PVD->hasUnparsedDefaultArg ();
1475
+ }
1476
+ }
1477
+
1478
+ return 0 ;
1479
+ }
1480
+
1481
+ unsigned clangsharp_Cursor_getHasUninstantiatedDefaultArg (CXCursor C) {
1482
+ if (isDeclOrTU (C.kind )) {
1483
+ const Decl* D = getCursorDecl (C);
1484
+
1485
+ if (const ParmVarDecl* PVD = dyn_cast<ParmVarDecl>(D)) {
1486
+ return PVD->hasUninstantiatedDefaultArg ();
1487
+ }
1488
+ }
1489
+
1490
+ return 0 ;
1491
+ }
1492
+
1469
1493
unsigned clangsharp_Cursor_getHasElseStorage (CXCursor C) {
1470
1494
if (isStmtOrExpr (C.kind )) {
1471
1495
const Stmt* S = getCursorStmt (C);
You can’t perform that action at this time.
0 commit comments