[preprocessing record] Add some sanity checks for the preprocessed entity index
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 12 Feb 2013 21:41:23 +0000 (21:41 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 12 Feb 2013 21:41:23 +0000 (21:41 +0000)
commit962b2210ccfe25bb87d3a13d3b8c38b1a825781f
tree48e04821ca7427ed878945cb6564014bb3237ccf
parent3ea602cd30ed6062a55100a29e2979f37f225545
[preprocessing record] Add some sanity checks for the preprocessed entity index
to make sure we don't crash on release if the index is not valid.

rdar://13089714

llvm-svn: 175010
clang/lib/Lex/PreprocessingRecord.cpp