[all-commits] [llvm/llvm-project] 0978c8: Basic: Initialize FileEntry's fields inline, almos...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Thu Dec 10 13:57:51 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0978c83e6fcc7a8aea18e24eb3b2ad5523581757
      https://github.com/llvm/llvm-project/commit/0978c83e6fcc7a8aea18e24eb3b2ad5523581757
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M clang/include/clang/Basic/FileEntry.h
    M clang/lib/Basic/FileEntry.cpp
    M clang/unittests/Basic/FileEntryTest.cpp

  Log Message:
  -----------
  Basic: Initialize FileEntry's fields inline, almost NFC

Initialize most of FileEntry's fields inline (all the ones that can be).
The only functionality change is to avoid leaving some fields
uninitialized.




More information about the All-commits mailing list