clang
도구용 컴파일 데이터베이스를 생성하는 도구. 더 많은 정보: https://github.com/rizsotto/Bear.
compile_commands.json
을 생성:bear -- {{make}}
bear --output {{경로/대상/컴파일_명령어.json}} -- {{make}}
compile_commands.json
파일에 결과를 추가:bear --append -- {{make}}
bear --verbose -- {{make}}
bear
가 명령 차단을 위해 사전 로드 방법을 사용하도록 강제:bear --force-preload -- {{make}}