llvm-project/clang/lib
Erich Keane 1eddce4177 Fix non-determinism issue with implicit lambda captures.
We were using llvm::SmallPtrSet for our ODR-use set which was also used
for instantiating the implicit lambda captures. The order in which the
captures are added depends on this, so the lambda's layout ended up
changing.  The test just uses floats, but this was noticed with other
types as well.

This test replaces the short-lived SmallPtrSet (it lasts only for an
expression, which, though is a long time for lambdas, is at least not
forever) with a SmallSetVector.
2020-06-12 09:16:43 -07:00
..
ARCMigrate [NFC] Refactoring PropertyAttributeKind for ObjCPropertyDecl and ObjCDeclSpec. 2020-04-23 17:21:25 -04:00
AST [clang] Rename Decl::isHidden() to isUnconditionallyVisible(). 2020-06-12 09:33:42 +02:00
ASTMatchers [clang][NFC] Generate the {Type,ArrayType,UnaryExprOrType,Expression}Traits... 2020-06-11 14:35:52 +01:00
Analysis Assignment and Inc/Dec operators wouldn't register as a mutation when Implicit Paren Casts were present 2020-06-09 19:45:57 +01:00
Basic [clang][NFC] Generate the {Type,ArrayType,UnaryExprOrType,Expression}Traits... 2020-06-11 14:35:52 +01:00
CodeGen [CodeGen] Increase applicability of ffine-grained-bitfield-accesses for targets with limited native integer widths 2020-06-12 10:33:47 +01:00
CrossTU [analyzer] On-demand parsing capability for CTU 2020-06-11 10:56:59 +02:00
DirectoryWatcher [DirectoryWatcher] Do not use FSEvents on non-macOS platforms 2020-04-23 10:22:28 -07:00
Driver [hip] Fix device-only relocatable code compilation. 2020-06-10 14:10:41 -04:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] Microsoft style fixes for C# properties 2020-06-09 14:50:34 +01:00
Frontend Reland [clangd] Parse std::make_unique, and emit template diagnostics at expansion. 2020-06-12 16:18:26 +02:00
FrontendTool [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
Headers Fix __clang_cuda_math_forward_declares.h 2020-06-10 23:47:13 -04:00
Index [ARM] Add __bf16 as new Bfloat16 C Type 2020-06-05 10:32:43 +01:00
Lex [clang] Always allow including builtin headers in [no_undeclared_headers] modules. 2020-06-04 08:33:39 +02:00
Parse Handle delayed-template-parsing functions imported into a non-dtp TU 2020-06-12 16:09:38 +02:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema Fix non-determinism issue with implicit lambda captures. 2020-06-12 09:16:43 -07:00
Serialization [clang] Rename Decl::isHidden() to isUnconditionallyVisible(). 2020-06-12 09:33:42 +02:00
StaticAnalyzer Get rid of -Wunused warnings in release build, NFC. 2020-06-12 15:42:29 +02:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling Propose naming principle for NodeRole and apply it 2020-06-04 20:08:35 +02:00
CMakeLists.txt Move unittest helpers to a shared location 2020-05-29 16:47:33 +02:00