]> granicus.if.org Git - clang/commit
[MSVC] Implementation of __unaligned as a proper type qualifier
authorAndrey Bokhanko <andreybokhanko@gmail.com>
Wed, 11 May 2016 18:38:21 +0000 (18:38 +0000)
committerAndrey Bokhanko <andreybokhanko@gmail.com>
Wed, 11 May 2016 18:38:21 +0000 (18:38 +0000)
commit8ecbed3b1a3fe7702c59b4e703beacabbd08e898
tree4f21ab9f4d53c4d92b330f89a19004a956d5a859
parent9afbd500cf6a4f0b20b5a81c37028d27b567ba52
[MSVC] Implementation of __unaligned as a proper type qualifier

This patch implements __unaligned (MS extension) as a proper type qualifier
(before that, it was implemented as an ignored attribute).

It also fixes PR27367 and PR27666.

Differential Revision: http://reviews.llvm.org/D20103

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269220 91177308-0d34-0410-b5e6-96231b3b80d8
23 files changed:
include/clang/AST/Type.h
include/clang/Basic/AddressSpaces.h
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/DeclSpec.h
include/clang/Sema/Sema.h
lib/AST/MicrosoftMangle.cpp
lib/AST/TypePrinter.cpp
lib/Parse/ParseDecl.cpp
lib/Parse/ParseTentative.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/SemaCodeComplete.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaType.cpp
test/CodeGenCXX/mangle-ms-cxx11.cpp
test/CodeGenCXX/mangle-ms-cxx14.cpp
test/Sema/MicrosoftExtensions.c
test/Sema/address_spaces.c
test/Sema/invalid-assignment-constant-address-space.c
test/SemaCXX/MicrosoftExtensions.cpp