Example #1
0
SEXP R_clang_getDiagnosticCategory(SEXP r_arg1)
{
    SEXP r_ans = R_NilValue;
    CXDiagnostic arg1 = GET_REF(r_arg1, CXDiagnostic);
    
    unsigned int ans;
    ans = clang_getDiagnosticCategory(arg1);
    
    r_ans = ScalarReal(ans) ;
    
    return(r_ans);
} 
Example #2
0
unsigned diagnostic::category()
{
    return clang_getDiagnosticCategory(diag);
}