Files
clang-p2996/clang/unittests/Format/FormatTestObjC.cpp
Ben Hamilton (Ben Gertzfield) d813af73f7 [Format] Fix detection of languages when reading from stdin (#79051)
The code cleanup in #74794 accidentally broke detection of languages by
reading file content from stdin, e.g. via `clang-format -dump-config - <
/path/to/filename`.

This PR adds unit and integration tests to reproduce the issue and adds
a fix.

Fixes: #79023
2024-01-23 13:32:41 -07:00

63 KiB