summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-03-29 22:51:22 +0000
committerReid Kleckner <rnk@google.com>2017-03-29 22:51:22 +0000
commitacd9a6f09d391bb14155d95791cafa78dec279df (patch)
treeea9fa745289a923abfef8e9edb968a707a8a985c /clang/lib/Frontend/CompilerInvocation.cpp
parentb8a728f9938afd526422907d273208e06c06a039 (diff)
downloadbcm5719-llvm-acd9a6f09d391bb14155d95791cafa78dec279df.tar.gz
bcm5719-llvm-acd9a6f09d391bb14155d95791cafa78dec279df.zip
[codeview] Fix buggy BeginIndexMapSize assertion
This assert is just trying to test that processing each record adds exactly one entry to the index map. The assert logic was wrong when the first record in the type stream was a field list. I've simplified the code by moving the LF_FIELDLIST-specific logic into the callback for that record type. llvm-svn: 299035
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud