[all-commits] [llvm/llvm-project] 4eaa02: APINotes: constify `dump` methods (NFC)

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Tue Dec 1 11:16:26 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4eaa024863f4a86151beb7971301c6ab10a9de01
      https://github.com/llvm/llvm-project/commit/4eaa024863f4a86151beb7971301c6ab10a9de01
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2020-12-01 (Tue, 01 Dec 2020)

  Changed paths:
    M clang/include/clang/APINotes/Types.h
    M clang/lib/APINotes/APINotesTypes.cpp

  Log Message:
  -----------
  APINotes: constify `dump` methods (NFC)

This simply marks the functions as const as they do not mutate the
value.  This is useful for debugging iterations during development.
NFCI.




More information about the All-commits mailing list