commit | 48716663e421472cbd590af160a372bc490205e8 | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Thu Jul 19 18:10:08 2012 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Thu Jul 19 18:10:08 2012 +0000 |
tree | 06a1999a84e99c77cb55372edb040a39def39513 | |
parent | ee7af50cc7999a2e5101da80bef0fdcff8c90b11 [diff] |
Don't crash checking a format string if one of the arguments is invalid. Previously, we would ask for the SourceLocation of an argument even if it were NULL (i.e. if Sema resulted in an ExprError trying to build it). <rdar://problem/11890818> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160515 91177308-0d34-0410-b5e6-96231b3b80d8