]> granicus.if.org Git - clang/commit
Make BuiltinType constructor private, and befriend ASTContext.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 Jul 2018 21:29:31 +0000 (21:29 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 13 Jul 2018 21:29:31 +0000 (21:29 +0000)
commit2d34629f474b71d65adbb4e9e5f31ea00f64a4ec
treef20549e9a610038d240815d5b131ff7ed6fc2cda
parent130cf585e6ed502f101db8ff1f203719919d045d
Make BuiltinType constructor private, and befriend ASTContext.

This reflects the fact that only ASTContext should ever create an
instance of BuiltinType, and matches what we do for all the other Type
subclasses.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337048 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h