//===--- Type.cpp - Type representation and manipulation ------------------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This file implements type-related functionality.////===----------------------------------------------------------------------===//#include"clang/AST/ASTContext.h"#include"clang/AST/CharUnits.h"#include"clang/AST/Type.h"#include"clang/AST/DeclCXX.h"#include"clang/AST/DeclObjC.h"#include"clang/AST/DeclTemplate.h"#include"clang/AST/Expr.h"#include"clang/AST/PrettyPrinter.h"#include"clang/AST/TypeVisitor.h"#include"clang/Basic/Specifiers.h"#include"llvm/ADT/StringExtras.h"#include"llvm/Support/raw_ostream.h"#include<algorithm>usingnamespaceclang;boolQualType::isConstant(QualTypeT,ASTContext&Ctx){if(T.isConstQualified())returntrue;if