[NFC] minor revision of r354929 [CUDA][HIP] Check calling convention based on functio...
authorYaxun Liu <Yaxun.Liu@amd.com>
Wed, 27 Feb 2019 15:46:29 +0000 (15:46 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Wed, 27 Feb 2019 15:46:29 +0000 (15:46 +0000)
commit785cbd850b76ce35968f0d85c4e19f1088ba8a37
treecaf4b9ffaa8c57fccb74642786e4656abf06a731
parente3b6d11038f3927fd02ec6d5459cfd0ffbe6b2fe
[NFC] minor revision of r354929 [CUDA][HIP] Check calling convention based on function target

Add comments and move a variable to if block.

Differential Revision: https://reviews.llvm.org/D57716

llvm-svn: 354990
clang/lib/Sema/SemaDeclAttr.cpp