[all-commits] [llvm/llvm-project] 3c07db: [Clang] Refactor "Designators" into a unified impl...

Bill Wendling via All-commits all-commits at lists.llvm.org
Tue Feb 7 12:59:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c07db5f58e9852f35202f0fffed50fc7506f37b
      https://github.com/llvm/llvm-project/commit/3c07db5f58e9852f35202f0fffed50fc7506f37b
  Author: Bill Wendling <morbo at google.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    M clang-tools-extra/clangd/FindTarget.cpp
    A clang/include/clang/AST/Designator.h
    M clang/include/clang/AST/Expr.h
    R clang/include/clang/Sema/Designator.h
    M clang/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/Index/IndexBody.cpp
    M clang/lib/Parse/ParseInit.cpp
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
    M clang/tools/libclang/CIndex.cpp

  Log Message:
  -----------
  [Clang] Refactor "Designators" into a unified implementation [NFC]

The interfaces for designators (i.e. C99 designated initializers) was
done in two slightly different ways. This was rather wasteful as the
differences could be combined into one.

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D140584




More information about the All-commits mailing list