aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBen Hamilton (Ben Gertzfield) <benhamilton@google.com>2024-01-23 13:32:41 -0700
committerGitHub <noreply@github.com>2024-01-23 13:32:41 -0700
commitd813af73f70f6b2fd41621d640cc35e595b9da4c (patch)
tree3829696af33639814dd5c683c3a13ba98c5d90a0 /clang/lib/Frontend/CompilerInvocation.cpp
parenteabddf22e20bc5fd62edda677056e1d635f8e7f4 (diff)
downloadllvm-d813af73f70f6b2fd41621d640cc35e595b9da4c.zip
llvm-d813af73f70f6b2fd41621d640cc35e595b9da4c.tar.gz
llvm-d813af73f70f6b2fd41621d640cc35e595b9da4c.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions