Adds doxygen comment for HasSideEffects method.

llvm-svn: 86150
This commit is contained in:
Fariborz Jahanian 2009-11-05 18:47:38 +00:00
parent b15f4a1cbd
commit c5a044e057
1 changed files with 4 additions and 0 deletions

View File

@ -250,6 +250,10 @@ public:
/// folded, but discard the result. /// folded, but discard the result.
bool isEvaluatable(ASTContext &Ctx) const; bool isEvaluatable(ASTContext &Ctx) const;
/// HasSideEffects - This routine returns true for all those expressions
/// which must be evaluated each time and must not be optimization away
/// or evaluated at compile time. Example is a function call, volatile
/// variable read.
bool HasSideEffects(ASTContext &Ctx) const; bool HasSideEffects(ASTContext &Ctx) const;
/// EvaluateAsInt - Call Evaluate and return the folded integer. This /// EvaluateAsInt - Call Evaluate and return the folded integer. This