llvm-project/clang/unittests/Frontend
Ryan Senanayake b3dae59b9d [clang] Fix CodeGenAction for LLVM IR MemBuffers
Replaces use of getCurrentFile with getCurrentFileOrBufferName
in CodeGenAction. This avoids an assertion error or an incorrect
name chosen for the output file when assertions are disabled.
This error previously occurred when the FrontendInputFile was a
MemoryBuffer instead of a file.

Reviewed By: jlebar

Differential Revision: https://reviews.llvm.org/D121259
2022-03-09 00:39:48 +00:00
..
ASTUnitTest.cpp [clang][Frontend] Add missing error handling 2020-10-22 14:14:19 -07:00
CMakeLists.txt [clangd] Avoid "expected one compiler job" by picking the first eligible job. 2021-08-13 00:36:30 +02:00
CodeGenActionTest.cpp [clang] Fix CodeGenAction for LLVM IR MemBuffers 2022-03-09 00:39:48 +00:00
CompilerInstanceTest.cpp
CompilerInvocationTest.cpp [modules] Use `HashBuilder` and `MD5` for the module hash. 2021-09-03 11:13:36 -07:00
FixedPointString.cpp
FrontendActionTest.cpp PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
OutputStreamTest.cpp Frontend: Fix memory leak in CompilerInstance::setVerboseOutputStream 2021-01-26 14:57:23 -08:00
PCHPreambleTest.cpp
ParsedSourceLocationTest.cpp
TextDiagnosticTest.cpp [llvm] Add null-termination capability to SmallVectorMemoryBuffer 2021-12-09 11:32:13 +01:00
UtilsTest.cpp [clangd] Avoid "expected one compiler job" by picking the first eligible job. 2021-08-13 00:36:30 +02:00