HomePhabricator

[libclang] Allow crash recovery with LIBCLANG_NOTHREADS

Description

[libclang] Allow crash recovery with LIBCLANG_NOTHREADS

Enabled crash recovery for some libclang operations on a calling thread even
when LIBCLANG_NOTHREAD is specified.

Previously it would only run under crash recovery if LIBCLANG_NOTHREAD is not
set. Moved handling of LIBCLANG_NOTHREAD env variable into RunSafely from its
call sites.

Details

Committed
erikjvNov 14 2017, 1:34 AM
Parents
rL318141: Refactor ContinuationIndenter's breakProtrudingToken logic.
Branches
Unknown
Tags
Unknown