https://github.com/tbaederr created 
https://github.com/llvm/llvm-project/pull/159504

Use proper doc comments here instead of regular comments.

>From 0d1679e0857cd4f1da08878a1407c12cf74fcce6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <[email protected]>
Date: Thu, 18 Sep 2025 06:57:51 +0200
Subject: [PATCH] [clang][Expr][NFC] Fix some doc comments

Use proper doc comments here instead of regular comments.
---
 clang/include/clang/AST/Expr.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h
index 7554089810336..3d7e674501ea0 100644
--- a/clang/include/clang/AST/Expr.h
+++ b/clang/include/clang/AST/Expr.h
@@ -634,8 +634,8 @@ class Expr : public ValueStmt {
 
     EvalStatus() = default;
 
-    // hasSideEffects - Return true if the evaluated expression has
-    // side effects.
+    /// Return true if the evaluated expression has
+    /// side effects.
     bool hasSideEffects() const {
       return HasSideEffects;
     }
@@ -646,8 +646,8 @@ class Expr : public ValueStmt {
     /// Val - This is the value the expression can be folded to.
     APValue Val;
 
-    // isGlobalLValue - Return true if the evaluated lvalue expression
-    // is global.
+    /// Return true if the evaluated lvalue expression
+    /// is global.
     bool isGlobalLValue() const;
   };
 

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to