[all-commits] [llvm/llvm-project] 8e2c19: clang/Modules: Add missing diagnostics for malform...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Mon Nov 11 16:01:07 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e2c192e2af8c760152ba3b28e774dbb1548e4aa
      https://github.com/llvm/llvm-project/commit/8e2c192e2af8c760152ba3b28e774dbb1548e4aa
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  clang/Modules: Add missing diagnostics for malformed AST files

These were found via an audit.  In the case of `ParseLineTable` this is
actually dead code, since parsing the line table always succeeds, but
it's prudent to be defensive since it's possible an assertion there
could be converted to a `true` return in the future.




More information about the All-commits mailing list