diff options
| author | paulhoad <mydeveloperday@gmail.com> | 2019-11-06 17:24:10 +0000 |
|---|---|---|
| committer | paulhoad <mydeveloperday@gmail.com> | 2019-11-06 17:25:17 +0000 |
| commit | 7681435de148cf7a1c7db1b0daba0497630989d2 (patch) | |
| tree | f26d450010cb05276dc97257df9da08c4aea82c9 /lldb/packages/Python/lldbsuite/test/lang/cpp/extern_c | |
| parent | 1b986b41ac40c9df82cc98ea4238d463e217bb25 (diff) | |
| download | bcm5719-llvm-7681435de148cf7a1c7db1b0daba0497630989d2.tar.gz bcm5719-llvm-7681435de148cf7a1c7db1b0daba0497630989d2.zip | |
[clang-format] Assert that filenames are not empty
Summary:
Adds asserts to catch empty filenames, which otherwise will cause a crash in SourceManager.
The clang-format tool now outputs an error if an empty filename is used.
Fixes bug: 34667
Reviewers: krasimir, djasper, MyDeveloperDay
Reviewed By: MyDeveloperDay
Subscribers: cfe-commits
Patch by: @jr
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D56345
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/extern_c')
0 files changed, 0 insertions, 0 deletions

