HasSideEffects() should return false for calls to pure and const functions.
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Mon, 6 Apr 2015 13:22:01 +0000 (13:22 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Mon, 6 Apr 2015 13:22:01 +0000 (13:22 +0000)
commitaed5ccdeed778342b9ff0a5e7d089067e4ffdef0
treed7fdc2945b0579a6fb18d4d01dbcfdc5e407a002
parent1931b6263215f84f1096eb338ad56e564b21cb37
HasSideEffects() should return false for calls to pure and const functions.

Differential Revision: http://reviews.llvm.org/D8548

llvm-svn: 234152
clang/lib/AST/Expr.cpp
clang/test/CodeGen/builtin-assume.c
clang/test/Sema/builtin-assume.c