llvm-project/clang/lib
Arthur O'Dwyer c0185ffaec [clang] Don't typo-fix an expression in a SFINAE context.
If this is a SFINAE context, then continuing to look up names
(in particular, to treat a non-function as a function, and then
do ADL) might too-eagerly complete a type that it's not safe to
complete right now. We should just say "okay, that's a substitution
failure" and not do any more work than absolutely required.

Fixes #52970.

Differential Revision: https://reviews.llvm.org/D117603
2022-02-01 15:17:28 -05:00
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
AST [clang] Correctly(?) handle placeholder types in ExprRequirements. 2022-02-01 15:16:17 -05:00
ASTMatchers Add `isConstinit` matcher 2022-01-24 08:35:42 -05:00
Analysis [clang][dataflow] Enable comparison of distinct values in Environment 2022-02-01 15:25:59 +00:00
Basic [clang][WebAssembly] Imply -fno-threadsafe-static when threading is disabled 2022-01-31 14:26:09 -08:00
CodeGen [OpenMP] Add kernel string attribute to kernel function 2022-02-01 13:49:31 -05:00
CrossTU Revert "[analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file" 2021-12-16 20:46:51 -05:00
DirectoryWatcher [clang] [DirectoryWatcher] Remove leading \\?\ from GetFinalPathNameByHandleW 2021-11-08 22:21:30 +02:00
Driver [OpenMP] Cleanup the Linker Wrapper 2022-01-31 23:11:42 -05:00
Edit [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
Format [clang-format] Use std::iota and reserve when sorting Java imports. NFC. 2022-02-01 14:29:31 +01:00
Frontend Revert fad7e491a0 with fixes applied 2022-01-29 08:12:16 -05:00
FrontendTool [clang] Add an extract-api driver option 2022-01-26 11:31:12 -08:00
Headers [AArch64] Support for memset tagged intrinsic 2022-01-31 20:49:34 +00:00
Index [clang] Visit enum base specifiers in libIndex 2021-10-25 13:16:14 +02:00
IndexSerialization
Interpreter [clang] Remove unused forward declarations (NFC) 2022-01-08 11:56:40 -08:00
Lex [clang][Lexer] Make raw and normal lexer behave the same for line comments 2022-01-31 16:15:16 +01:00
Parse [clang-format] Format ParseOpenMP.cpp changes 2022-01-27 09:00:34 +00:00
Rewrite Add assert on End iteration distance to Rewriter::getRewrittenText. 2022-01-25 17:26:13 +00:00
Sema [clang] Don't typo-fix an expression in a SFINAE context. 2022-02-01 15:17:28 -05:00
Serialization [NFC] [AST] Move isSameEntity into ASTContext 2022-01-27 10:30:50 +08:00
StaticAnalyzer Fix pair construction with an implicit constructor inside. 2022-01-18 18:01:52 +01:00
Testing
Tooling Fix MSVC 'not all control paths return a value' warning. NFC. 2022-01-26 11:33:37 +00:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00