[PATCH] D102770: [clang-tidy] Fix a crash for raw-string-literal check.

2021-05-20 Thread Haojian Wu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG775ca3a89cba: [clang-tidy] Fix a crash for raw-string-literal check. (authored by hokein). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D102770/new/ https:/

[PATCH] D102770: [clang-tidy] Fix a crash for raw-string-literal check.

2021-05-19 Thread Haojian Wu via Phabricator via cfe-commits
hokein created this revision. hokein added a reviewer: gribozavr2. Herald added a subscriber: xazax.hun. hokein requested review of this revision. Herald added a project: clang-tools-extra. getSourceText could return an empty string for error cases (e.g. invalid source locaiton), this patch makes