llvm-project/clang/lib
Akira Hatanaka 8db0dbbe2c [CodeGen] Don't create fake FunctionDecls when generating block/byref
copy/dispose helper functions

We found out that these fake functions would cause clang to crash if the
changes proposed in https://reviews.llvm.org/D98799 were made.

The original patch was reverted in f681fd927e
because debug locations were missing in the body of the block byref
helper functions. This patch fixes the bug by calling CreateArtificial
after the calls to StartFunction.

Differential Revision: https://reviews.llvm.org/D104082
2021-06-24 11:45:52 -07:00
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [SystemZ][z/OS] Set files in FileRemapper.cpp are text 2021-04-19 07:59:42 -04:00
AST AST: Create __va_list in the std namespace even in C. 2021-06-23 18:59:10 -07:00
ASTMatchers [clang] p1099 using enum part 2 2021-06-08 11:11:46 -07:00
Analysis [ADT] Remove APInt/APSInt toString() std::string variants 2021-06-11 13:19:15 +01:00
Basic [AMDGPU] Add gfx1035 target 2021-06-24 14:32:41 -04:00
CodeGen [CodeGen] Don't create fake FunctionDecls when generating block/byref 2021-06-24 11:45:52 -07:00
CrossTU [analyzer][ctu] Reland "Avoid parsing invocation list again and again.. 2021-05-25 09:44:13 +02:00
DirectoryWatcher Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows"" 2021-06-19 09:19:52 -07:00
Driver [AIX] Emitting diagnostics error for profile options 2021-06-24 00:23:28 +00:00
Edit [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
Format [clang-format] Add IfMacros option 2021-06-23 08:51:53 -07:00
Frontend [AIX][PowerPC] Remove error when specifying mabi=vec-default on AIX 2021-06-23 07:40:38 -04:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [OpenMP][AMDGCN] Apply fix for isnan, isinf and isfinite for amdgcn. 2021-06-23 15:26:09 +01:00
Index [index] Fix performance regression with indexing macros 2021-06-16 10:16:26 -07:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Interpreter [clang] Fix a race condition in the build of clangInterpreter 2021-06-17 10:03:33 -07:00
Lex Add support for #pragma system_header with -fms-extensions 2021-06-23 13:26:03 +02:00
Parse Handle interactions between reserved identifier and user-defined suffixes 2021-06-23 15:38:42 +02:00
Rewrite [clang] DeltaTree::AddDelta - fix "initialization is never read" clang-tidy warning. NFCI. 2021-03-02 15:01:34 +00:00
Sema [HIP] Defer operator overloading errors 2021-06-23 23:39:59 -04:00
Serialization [clang][AST] Make `getLocalOrImportedSubmoduleID` work with const `Module*`. NFC. 2021-06-17 17:29:12 -07:00
StaticAnalyzer [clang][Analyzer] Track null stream argument in alpha.unix.Stream . 2021-06-22 11:16:56 +02:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling [libTooling] Change `access` stencil to recognize use of `operator*`. 2021-06-16 20:34:00 +00:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00