llvm-project/clang/lib/AST
Yan Wang d79f3f630f [clang] Change the condition of unnecessary packed warning
Summary:
Change the condition of this unnecessary packed warning. The packed is unnecessary when
1. the alignment of the struct/class won't alter.
2. the size is unchanged.
3. the offset of each field is the same.

Remove all field-level warning.

Reviewers: chh, akyrtzi, rtrieu

Reviewed By: chh

Subscribers: rsmith, srhines, cfe-commits, xazax.hun

Differential Revision: https://reviews.llvm.org/D34114

llvm-svn: 309750
2017-08-01 21:41:39 +00:00
..
APValue.cpp
ASTConsumer.cpp
ASTContext.cpp [clang] Add getSignedSizeType method 2017-07-14 17:30:14 +00:00
ASTDiagnostic.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:31:42 +00:00
ASTDumper.cpp Improve readability of CXX method overrides list 2017-07-29 20:42:58 +00:00
ASTImporter.cpp Preserve CXX method overrides in ASTImporter 2017-06-20 21:06:00 +00:00
ASTStructuralEquivalence.cpp [Modules] Implement ODR-like semantics for tag types in C/ObjC 2017-07-01 00:06:47 +00:00
ASTTypeTraits.cpp
AttrImpl.cpp
CMakeLists.txt Update libdeps to add BinaryFormat, introduced in r304864. 2017-06-07 04:48:49 +00:00
CXXABI.h
CXXInheritance.cpp [index] Avoid one more crash caused by infinite recursion that happens when 2017-05-18 18:06:07 +00:00
Comment.cpp [AST] Look through attribute type locs when searching for function type 2017-04-26 12:46:27 +00:00
CommentBriefParser.cpp
CommentCommandTraits.cpp
CommentLexer.cpp
CommentParser.cpp
CommentSema.cpp -Wdocumentation should not check the @returns command for Objective-C 2017-04-26 13:09:28 +00:00
Decl.cpp [modules ts] Basic for module linkage. 2017-07-07 20:04:28 +00:00
DeclBase.cpp [modules ts] Improve merging of module-private declarations. 2017-07-05 07:47:11 +00:00
DeclCXX.cpp [Sema] Mark a virtual CXXMethodDecl as used if a call to it can be 2017-07-13 06:08:27 +00:00
DeclFriend.cpp
DeclGroup.cpp
DeclObjC.cpp [ObjC] Pick a 'readwrite' property when synthesizing ambiguous 2017-07-13 11:06:22 +00:00
DeclOpenMP.cpp
DeclPrinter.cpp ASTPrinter: Objective-C method declarations don't need a space after 2017-06-02 15:02:59 +00:00
DeclTemplate.cpp
DeclarationName.cpp [ASTPrinter] Print nested name specifiers for out-of-line functions 2017-04-11 16:46:03 +00:00
Expr.cpp Make CastExpr::getSubExprAsWritten look through implicit temporary under CK_ConstructorConversion 2017-06-27 08:19:09 +00:00
ExprCXX.cpp
ExprClassification.cpp [coroutines] Allow co_await and co_yield expressions that return an lvalue to compile 2017-06-15 19:43:36 +00:00
ExprConstant.cpp [MS] Don't statically initialize dllimport member function pointers 2017-07-07 22:04:29 +00:00
ExprObjC.cpp
ExternalASTMerger.cpp [ExternalASTMerger] Import Objective-C classes 2017-07-25 19:54:22 +00:00
ExternalASTSource.cpp Modular Codegen: Support homing debug info for types in modular objects 2017-04-11 21:13:37 +00:00
InheritViz.cpp
ItaniumCXXABI.cpp
ItaniumMangle.cpp [AArch64] Add support for __builtin_ms_va_list on aarch64 2017-07-17 20:49:45 +00:00
Mangle.cpp [AST/ObjC] Make ObjCCategoryImplDecl consistent with ObjCCategoryDecl and use the category name as its DeclName 2017-03-07 09:26:07 +00:00
MicrosoftCXXABI.cpp
MicrosoftMangle.cpp [AArch64] Add support for __builtin_ms_va_list on aarch64 2017-07-17 20:49:45 +00:00
NSAPI.cpp
NestedNameSpecifier.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:31:42 +00:00
ODRHash.cpp [ODRHash] Revert r307743 which reverted r307720 2017-07-15 02:55:13 +00:00
OpenMPClause.cpp [OPENMP] Codegen for 'in_reduction' clause. 2017-07-27 13:20:36 +00:00
ParentMap.cpp
RawCommentList.cpp
RecordLayout.cpp
RecordLayoutBuilder.cpp [clang] Change the condition of unnecessary packed warning 2017-08-01 21:41:39 +00:00
SelectorLocationsKind.cpp
Stmt.cpp [OPENMP] Check DSA for variables captured by value. 2017-05-15 16:26:15 +00:00
StmtCXX.cpp [coroutines] Add serialization/deserialization of coroutines 2017-07-25 18:01:49 +00:00
StmtIterator.cpp
StmtObjC.cpp
StmtOpenMP.cpp [OPENMP] Codegen for 'task_reduction' clause. 2017-07-25 15:53:26 +00:00
StmtPrinter.cpp [OPENMP] Initial support for 'in_reduction' clause. 2017-07-21 18:48:21 +00:00
StmtProfile.cpp [OPENMP] Codegen for 'in_reduction' clause. 2017-07-27 13:20:36 +00:00
StmtViz.cpp
TemplateBase.cpp
TemplateName.cpp
Type.cpp [CodeGen] Correctly model std::byte's aliasing properties 2017-07-25 23:33:58 +00:00
TypeLoc.cpp
TypePrinter.cpp [AArch64] Add support for __builtin_ms_va_list on aarch64 2017-07-17 20:49:45 +00:00
VTTBuilder.cpp
VTableBuilder.cpp