diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-02-23 07:33:15 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-02-23 07:33:15 +0000 |
commit | 25d0a0f67d9e949ffbfc57bf487012f5cbfd886e (patch) | |
tree | 2c7d3cf3e2b66d16d367e5ac545593d970f89621 /include/clang/AST/Expr.h | |
parent | 46e021e897b8319b192115954f0b2c82fe0e504d (diff) |
Provide the __is_trivially_assignable type trait, which provides
compiler support for the std::is_trivially_assignable library type
trait.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151240 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/Expr.h')
-rw-r--r-- | include/clang/AST/Expr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index d66ad8fbca..d943aba0d3 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -512,6 +512,10 @@ public: /// variable read. bool HasSideEffects(const ASTContext &Ctx) const; + /// \brief Determine whether this expression involves a call to any function + /// that is not trivial. + bool hasNonTrivialCall(ASTContext &Ctx); + /// EvaluateKnownConstInt - Call EvaluateAsRValue and return the folded /// integer. This must be called on an expression that constant folds to an /// integer. |