[clang] 53d73c0 - [NFC] Remove out dated comment for clear-ast-before-backend

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 26 01:16:05 PDT 2025


Author: Chuanqi Xu
Date: 2025-08-26T16:15:18+08:00
New Revision: 53d73c0aa909e434b8572e3144f3ff5c8774ccf4

URL: https://github.com/llvm/llvm-project/commit/53d73c0aa909e434b8572e3144f3ff5c8774ccf4
DIFF: https://github.com/llvm/llvm-project/commit/53d73c0aa909e434b8572e3144f3ff5c8774ccf4.diff

LOG: [NFC] Remove out dated comment for clear-ast-before-backend

The comment is outdated since d0a5f61c4f6fccec87fd5207e3fcd9502dd59854

Added: 
    

Modified: 
    clang/include/clang/Basic/CodeGenOptions.def

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/CodeGenOptions.def b/clang/include/clang/Basic/CodeGenOptions.def
index 423b696785500..b96ec75068004 100644
--- a/clang/include/clang/Basic/CodeGenOptions.def
+++ b/clang/include/clang/Basic/CodeGenOptions.def
@@ -58,7 +58,7 @@ ENUM_CODEGENOPT(FramePointer, FramePointerKind, 2, FramePointerKind::None, Benig
 
 ENUM_CODEGENOPT(ExceptionHandling, ExceptionHandlingKind, 3, ExceptionHandlingKind::None, NotCompatible)
 
-CODEGENOPT(ClearASTBeforeBackend , 1, 0, Benign) ///< Free the AST before running backend code generation. Only works with -disable-free.
+CODEGENOPT(ClearASTBeforeBackend , 1, 0, Benign) ///< Free the AST before running backend code generation.
 CODEGENOPT(DisableFree       , 1, 0, Benign) ///< Don't free memory.
 CODEGENOPT(DiscardValueNames , 1, 0, Benign) ///< Discard Value Names from the IR (LLVMContext flag)
 CODEGENOPT(DisableLLVMPasses , 1, 0, Benign) ///< Don't run any LLVM IR passes to get


        


More information about the cfe-commits mailing list