aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2016-07-21 03:28:13 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2016-07-21 03:28:13 +0000
commit92b43a462e141fac169a162616f464000633cece (patch)
treec062a54909113e4dcee4b6a59a002f7bef8fd77c /clang/lib/CodeGen/CodeGenAction.cpp
parent7efa5e4b5f61b822dfcd52b7220c209b8044ca1d (diff)
downloadllvm-92b43a462e141fac169a162616f464000633cece.zip
llvm-92b43a462e141fac169a162616f464000633cece.tar.gz
llvm-92b43a462e141fac169a162616f464000633cece.tar.bz2
[Sema] Fix PR28623.
In atomic builtins, we assumed that the LValue conversion on the first argument would succeed. So, we would crash given code like: ``` void ovl(char); void ovl(int); __atomic_store_n(ovl, 0, 0); ``` This patch makes us not assume that said conversion is successful. :) llvm-svn: 276232
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions