[all-commits] [llvm/llvm-project] f2d8a0: [clang][NFC] Refactor `ParamCommandComment::PassDi...

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Mon Nov 6 11:56:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2d8a0ac1dd1fe55b2c3b358c525fbc01b0121ed
      https://github.com/llvm/llvm-project/commit/f2d8a0ac1dd1fe55b2c3b358c525fbc01b0121ed
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M clang/include/clang/AST/Comment.h
    M clang/lib/AST/Comment.cpp
    M clang/lib/AST/CommentSema.cpp
    M clang/lib/AST/JSONNodeDumper.cpp
    M clang/lib/Index/CommentToXML.cpp
    M clang/tools/libclang/CXComment.cpp
    M clang/unittests/AST/CommentParser.cpp

  Log Message:
  -----------
  [clang][NFC] Refactor `ParamCommandComment::PassDirection`

This patch converts `ParamCommandComment::PassDirection` to a scoped enum at namespace scope, making it eligible for forward declaring. This is useful for e.g. annotating bit-fields with `preferred_type`.




More information about the All-commits mailing list