//===--- ExprConstant.cpp - Expression Constant Evaluator -----------------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This file implements the Expr constant evaluator.////===----------------------------------------------------------------------===//#include"clang/AST/APValue.h"#include"clang/AST/ASTContext.h"#include"clang/AST/RecordLayout.h"#include"clang/AST/StmtVisitor.h"#include"clang/AST/ASTDiagnostic.h"#include"clang/Basic/TargetInfo.h"#include"llvm/Support/Compiler.h"usingnamespaceclang;usingllvm::APSInt;usingllvm::APFloat;