1. [clang-format] Assert that filenames are not empty (details)
Commit 7681435de148cf7a1c7db1b0daba0497630989d2 by paulhoad
[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:
The file was modifiedclang/tools/clang-format/ClangFormat.cpp