Skip to content
Commit 200500d6 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[CodeGen] Check if the Decl pointer passed is null, and if so, return

early.

This is needed in a patch I plan to commit later, in which a null Decl
pointer is passed to SetLLVMFunctionAttributesForDefinition.

Relevant discussion is in http://reviews.llvm.org/D13525.

llvm-svn: 249722
parent 8b5e7baa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment