[all-commits] [llvm/llvm-project] 565e21: [clang][NFC] Refactor `InlineCommandComment::Rende...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 565e21b3e079e53c4fcf47d2ec898dbc248fbd3a
      https://github.com/llvm/llvm-project/commit/565e21b3e079e53c4fcf47d2ec898dbc248fbd3a
  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/include/clang/AST/CommentSema.h
    M clang/lib/AST/CommentSema.cpp
    M clang/lib/AST/JSONNodeDumper.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/Index/CommentToXML.cpp
    M clang/tools/libclang/CXComment.cpp

  Log Message:
  -----------
  [clang][NFC] Refactor `InlineCommandComment::RenderKind`

This patch converts `InlineCommandComment::RenderKind` 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