]> granicus.if.org Git - clang/commit
Refactoring of constant expression evaluator
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 13 May 2011 03:29:01 +0000 (03:29 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 13 May 2011 03:29:01 +0000 (03:29 +0000)
commit8cad3046be06ea73ff8892d947697a21d7a440d3
tree8d25db178ef793091b7e0713454caed619d16f96
parent7999991060b136db49eb9d6b34595383de56278c
Refactoring of constant expression evaluator

This introduces a generic base class for the expression evaluator
classes, which handles a few common expression types which were
previously handled separately in each class.  Also, the expression
evaluator now uses ConstStmtVisitor.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131281 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/APValue.h
include/clang/AST/Expr.h
lib/AST/APValue.cpp
lib/AST/ExprConstant.cpp
lib/Analysis/CFG.cpp