Go to file
Alex Lorenz ad273341a4 Add a warning for missing '#pragma pack (pop)' and suspicious uses
of '#pragma pack' in included files

This commit adds a new -Wpragma-pack warning. It warns in the following cases:

- When a translation unit is missing terminating #pragma pack (pop) directives.
- When entering an included file if the current alignment value as determined
  by '#pragma pack' directives is different from the default alignment value.
- When leaving an included file that changed the state of the current alignment
  value.

rdar://10184173

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

llvm-svn: 308327
2017-07-18 17:23:51 +00:00
clang Add a warning for missing '#pragma pack (pop)' and suspicious uses 2017-07-18 17:23:51 +00:00
clang-tools-extra Add autoload cookies for clang-include-fixer lisp functions. 2017-07-18 10:15:07 +00:00
compiler-rt [asan] Remove recent asan tests which expect death in allocator 2017-07-18 01:39:56 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx Check for _MSC_VER before defining _LIBCPP_MSVCRT 2017-07-17 21:52:31 +00:00
libcxxabi [demangler] Respect try_to_parse_template_args 2017-07-13 19:37:37 +00:00
libunwind [libunwind][CMake] Add install path variable to allow overriding the destination 2017-07-11 01:12:09 +00:00
lld [COFF] Accept discarded relocations in DWARF debug sections 2017-07-18 15:11:05 +00:00
lldb Fix NetBSD/FreeBSD build after r308304 2017-07-18 14:03:47 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm AMDGPU: Annotate necessity of flat-scratch-init 2017-07-18 16:44:58 +00:00
openmp Fix sporadic segfaults in tasking tests. 2017-07-18 11:56:16 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopInfo] Introduce list of statements in Scop::StmtMap. NFC. 2017-07-18 15:41:49 +00:00