Skip to content
Snippets Groups Projects
Select Git revision
5 results Searching

llvm

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Alex Lorenz authored
    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
    287f684c
    History
    Name Last commit Last update