Author: Timm Baeder Date: 2025-09-18T09:03:12+02:00 New Revision: ddb9c785cd64835de84ecf394401ad98a6f087cd
URL: https://github.com/llvm/llvm-project/commit/ddb9c785cd64835de84ecf394401ad98a6f087cd DIFF: https://github.com/llvm/llvm-project/commit/ddb9c785cd64835de84ecf394401ad98a6f087cd.diff LOG: [clang][Expr][NFC] Fix some doc comments (#159504) Use proper doc comments here instead of regular comments. Added: Modified: clang/include/clang/AST/Expr.h Removed: ################################################################################ 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 cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits