]> granicus.if.org Git - clang/commit
[Sema] Fix Modified Type in address_space AttributedType
authorLeonard Chan <leonardchan@google.com>
Thu, 24 Jan 2019 00:11:35 +0000 (00:11 +0000)
committerLeonard Chan <leonardchan@google.com>
Thu, 24 Jan 2019 00:11:35 +0000 (00:11 +0000)
commitbe1bd1088603320326ae31e046e02185d2d0d19c
tree9bfe62974603f931c826959fdd052939dd8980ac
parent45b5be68b31579b7db8ef0b954fe5e67cc840c2f
[Sema] Fix Modified Type in address_space AttributedType

This is a fix for https://reviews.llvm.org/D51229 where we pass the
address_space qualified type as the modified type of an AttributedType. This
change now instead wraps the AttributedType with either the address_space
qualifier or a DependentAddressSpaceType.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351997 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ReleaseNotes.rst
include/clang/Sema/Sema.h
lib/AST/Type.cpp
lib/AST/TypePrinter.cpp
lib/Sema/SemaType.cpp
test/AST/address_space_attribute.cpp [new file with mode: 0644]
test/Index/print-type.m
tools/libclang/CXType.cpp