Introduce Expr::Classify and Expr::ClassifyModifiable, which determine the...
Introduce Expr::Classify and Expr::ClassifyModifiable, which determine the classification of an expression under the C++0x taxology (value category). Reimplement isLvalue and isModifiableLvalue using these functions. No regressions in the test suite from this, and my rough performance check doesn't show any regressions either. llvm-svn: 107007
Showing
- clang/include/clang/AST/Expr.h 89 additions, 3 deletionsclang/include/clang/AST/Expr.h
- clang/lib/AST/CMakeLists.txt 1 addition, 0 deletionsclang/lib/AST/CMakeLists.txt
- clang/lib/AST/Expr.cpp 0 additions, 372 deletionsclang/lib/AST/Expr.cpp
- clang/lib/AST/ExprClassification.cpp 470 additions, 0 deletionsclang/lib/AST/ExprClassification.cpp
Loading
Please register or sign in to comment