akyrtzi added a comment.

> I could disable crash recovery by calling clang_toggleCrashRecovery(false) 
> after clang_createIndex has been called but this doesn't work because the 
> right JVM handler isn't reinstalled


Could you explain more why this doesn't work ? Is it a bug with the crash 
handling logic or something else ?

If we are going to have a 'clang_createIndex2' function to be able to introduce 
a new flag, it should be made to accept OR'ed enums for flags, so we can add 
more flags in the future and not get in a similar situation and have to add 
'clang_createIndex3'..


Repository:
  rL LLVM

https://reviews.llvm.org/D23662



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to