Adds doxygen comment for HasSideEffects method.
llvm-svn: 86150
This commit is contained in:
parent
b15f4a1cbd
commit
c5a044e057
|
@ -250,6 +250,10 @@ public:
|
|||
/// folded, but discard the result.
|
||||
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;
|
||||
|
||||
/// EvaluateAsInt - Call Evaluate and return the folded integer. This
|
||||
|
|
Loading…
Reference in New Issue