llvm-project
[clang-repl] Skip CodeGen for top-level decls when diagnostics report errors
#169989
Merged

[clang-repl] Skip CodeGen for top-level decls when diagnostics report errors #169989

anutosh491 merged 4 commits into llvm:main from anutosh491:discard_curr_mod
anutosh491
anutosh491 Drop CodeGen module when an input has parse errors
a6c9ac10
llvmbot llvmbot added clang
llvmbot llvmbot added clang:frontend
llvmbot
anutosh491
anutosh491 anutosh491 added clang-repl
anutosh491
anutosh491 commented on 2025-11-29
anutosh491
anutosh491 commented on 2025-11-29
anutosh491
anutosh491 Gaurd HandleTopLevelDecl call to allow codegen only if no error has o…
7b4302b0
anutosh491 anutosh491 changed the title [clang-repl] Drop CodeGen module when an input has parse errors [clang-repl] Skip CodeGen for top-level decls when diagnostics report errors 197 days ago
anutosh491 Add test
88d1dd31
anutosh491
anutosh491
anutosh491 commented on 2025-12-08
anutosh491 Merge branch 'main' into discard_curr_mod
118fa4c8
vgvassilev
vgvassilev approved these changes on 2025-12-08
anutosh491
anutosh491 anutosh491 merged cbce30e0 into main 196 days ago
anutosh491 anutosh491 deleted the discard_curr_mod branch 196 days ago
anutosh491

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone