[all-commits] [llvm/llvm-project] 2c1319: [clang][ExtractAPI][NFC] Remove some nullptr deref...

Daniel Grumberg via All-commits all-commits at lists.llvm.org
Tue Jul 16 03:24:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c13194eab28474089841903acd5790b8b1a559a
      https://github.com/llvm/llvm-project/commit/2c13194eab28474089841903acd5790b8b1a559a
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
    M clang/lib/ExtractAPI/DeclarationFragments.cpp

  Log Message:
  -----------
  [clang][ExtractAPI][NFC] Remove some nullptr dereference problems (#98914)

A places try to get a NamedDecl's name using getName when it isn't a
simple identifier, migrate these areas to getNameAsString.

rdar://125315602



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list