Richard Trieu e69acc5d8f Check pointer null-ness before dereferencing it.
-Warc-repeated-use-of-weak may trigger a segmentation fault when the Decl
being checked is outside of a function scope, leaving the current function
info pointer null.  This adds a check before using the function info.

llvm-svn: 333471
2018-05-29 22:43:00 +00:00
..
2018-04-06 15:14:32 +00:00
2015-09-14 21:27:36 +00:00
2018-04-06 15:14:32 +00:00
2014-08-26 21:10:47 +00:00
2018-04-06 15:14:32 +00:00