diff options
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 6fe91905dc5..9d87694a612 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -5410,7 +5410,7 @@ CreateNewDecl:      // the #pragma tokens are effectively skipped over during the      // parsing of the struct).      if (unsigned Alignment = getPragmaPackAlignment()) -      New->addAttr(::new (Context) PragmaPackAttr(Alignment * 8)); +      New->addAttr(::new (Context) MaxFieldAlignmentAttr(Alignment * 8));    }    // If this is a specialization of a member class (of a class template),  | 

