llvm-project/clang/lib
Erich Keane 113b0d7d0b PR46255: Fix field diagnostics for C records with anonymous members.
The ParseStructUnionBody function was separately keeping track of the
field decls for historical reasons, however the "ActOn" functions add
the field to the RecordDecl anyway.

The "ParseStructDeclaration" function, which handles parsing fields
didn't have a way of handling what happens on an anonymous field, and
changing it would alter a large amount of objc code, so I chose instead
to implement this by just filling the FieldDecls vector with the actual
FieldDecls that were successfully added to the recorddecl .
2020-06-09 12:27:44 -07:00
..
ARCMigrate [NFC] Refactoring PropertyAttributeKind for ObjCPropertyDecl and ObjCDeclSpec. 2020-04-23 17:21:25 -04:00
AST [clang][AST] Widen TypeTraitExprBitfields.NumArgs to 16 bits. 2020-06-09 15:18:15 +01:00
ASTMatchers [ASTMatchers] Matchers related to C++ inheritance 2020-05-29 12:38:01 -07: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 [SystemZ] Implement -fstack-clash-protection 2020-06-06 18:38:36 +02:00
CodeGen Change debuginfo check for addHeapAllocSiteMetadata 2020-06-09 11:01:06 -07:00
CrossTU Revert "[analyzer] On-demand parsing capability for CTU" 2020-04-27 14:27:04 +02:00
DirectoryWatcher [DirectoryWatcher] Do not use FSEvents on non-macOS platforms 2020-04-23 10:22:28 -07:00
Driver Add #includes so that ROCm.h is compilable stand-alone. 2020-06-08 14:16:30 -07: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 Revert "[clangd] Parse std::make_unique, and emit template diagnostics at expansion." 2020-06-09 15:42:22 +02:00
FrontendTool [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
Headers Rename arg name in __clang_hip_math.h 2020-06-08 14:13:32 -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 PR46255: Fix field diagnostics for C records with anonymous members. 2020-06-09 12:27:44 -07:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [AMDGPU] Introduce Clang builtins to be mapped to AMDGCN atomic inc/dec intrinsics 2020-06-09 17:02:58 +00:00
Serialization [ObjC] Fix AST serialization for pseudo-strong parameters 2020-06-08 11:54:01 -04:00
StaticAnalyzer [clang][StaticAnalyzer] Fix unused variable warning for debug builds 2020-06-09 13:35:41 +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