sbenza added a comment.
> > So even if the above solution is working, we still need to call it that way > > (as a string): > > > clang-query> match castExpr(hasCastKind("CK_Dependent")) > > > Correct, that's expected behavior for clang-query (though I would love if > someday we could expose actual enumerations somehow instead of string > literals). It is not hard to do, but it would require changing the parser, the registry, the type-erased value wrapper, etc. The late conversion from "string" to enum was the easiest solution at the time. http://reviews.llvm.org/D19871 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits