[all-commits] [llvm/llvm-project] f7463c: [ProfileData] GCOVFile::readGCNO - silence undefin...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jan 4 08:50:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7463ca3cc5ba8455c4611c5afa79c48d8a79326
      https://github.com/llvm/llvm-project/commit/f7463ca3cc5ba8455c4611c5afa79c48d8a79326
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-04 (Mon, 04 Jan 2021)

  Changed paths:
    M llvm/lib/ProfileData/GCOV.cpp

  Log Message:
  -----------
  [ProfileData] GCOVFile::readGCNO - silence undefined pointer warning. NFCI.

Silence clang static analyzer warning that 'fn' could still be in an undefined state - this shouldn't happen depending on the likely tag order, but the analyzer can't know that.




More information about the All-commits mailing list