go-clang / gen

Generate Go bindings for Clang's C API
https://pkg.go.dev/github.com/go-clang/gen
BSD 3-Clause "New" or "Revised" License
44 stars 5 forks source link

cmd/go-clang-gen/runtime: Remove unused commented code and improve C comment to Go API comment #179

Closed zchee closed 2 years ago

zchee commented 2 years ago

Remove unused commented code and improve C comment to Go API comment.

codecov[bot] commented 2 years ago

Codecov Report

Merging #179 (d3b6529) into main (b811881) will increase coverage by 1.1%. The diff coverage is 61.7%.

@@           Coverage Diff           @@
##            main    #179     +/-   ##
=======================================
+ Coverage   12.2%   13.3%   +1.1%     
=======================================
  Files         19      19             
  Lines       2524    2572     +48     
=======================================
+ Hits         309     344     +35     
- Misses      2215    2228     +13     
Impacted Files Coverage Δ
enum.go 0.0% <0.0%> (ø)
generation.go 2.7% <0.0%> (-0.1%) :arrow_down:
struct.go 0.0% <0.0%> (ø)
comment.go 80.2% <76.0%> (-13.5%) :arrow_down:
cmd/go-clang-gen/runtime/runtime.go 57.0% <100.0%> (+1.0%) :arrow_up:
function.go 21.3% <100.0%> (+1.8%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b811881...d3b6529. Read the comment docs.