Go to file
Alex Lorenz 287f684c18 Recommit r308327: 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: 308441
2017-07-19 11:30:41 +00:00
clang Recommit r308327: Add a warning for missing '#pragma pack (pop)' 2017-07-19 11:30:41 +00:00
clang-tools-extra Add autoload cookies for clang-include-fixer lisp functions. 2017-07-18 10:15:07 +00:00
compiler-rt [X86][builtins] Sync getX86CpuIDAndInfoEx with llvm's Host.cpp again. 2017-07-19 05:11:20 +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 [CMake] Use MATCHES for regular expression. 2017-07-18 19:48:02 +00:00
libcxxabi [demangler] Respect try_to_parse_template_args 2017-07-13 19:37:37 +00:00
libunwind [CMake] Set library dir to be LLVM's intermediate output dir 2017-07-18 21:30:18 +00:00
lld test: remove duplicated test 2017-07-19 02:39:00 +00:00
lldb Fix typos in documentation. 2017-07-19 09:35:58 +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 Recommit r274270, [CMake] Module builds depend on target intrinsics_gen to be built first. 2017-07-19 11:27:31 +00:00
openmp OpenMP RTL cleanup: two PAUSEs per spin loop iteration replaced with single one 2017-07-19 09:26:13 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopInfo] Use AnyPHINode in tryGetValueStored() 2017-07-19 11:30:18 +00:00