autofix-signature-mismatch
Fixes function call errors with wrong number or type of arguments.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fixes function call errors with wrong number or type of arguments.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Comprehensive build error repair tool for C++, Rust, and Java projects using Soong, GN, Make, or CMake. Automatically fixes 30+ types of errors including headers, linking, APIs, and config.
Fixes type mismatch errors by adding appropriate casts or conversions.
Fixes syntax errors in Android.bp files.
Removes unsupported or unknown compiler flags from build configurations.
Fixes scope and variable errors in BUILD.gn files.
Fixes script permission errors by making files executable.
| name | autofix-signature-mismatch |
| description | Fixes function call errors with wrong number or type of arguments. |
Fixes errors where function calls don't match their declarations.
no matching function for call to 'X'too many arguments to function 'X'too few arguments to function 'X'candidate function not viableExtract:
grep -r "returnType functionName(" --include="*.h"
Case: Too many arguments
// Declaration: void foo(int a);
// Call: foo(1, 2); // ERROR: too many
// Fix: foo(1);
Case: Too few arguments
// Declaration: void bar(int a, int b);
// Call: bar(1); // ERROR: too few
// Fix: bar(1, 0); // Add default or required value
Case: Wrong type
// Declaration: void process(const char* str);
// Call: process(myString); // myString is std::string
// Fix: process(myString.c_str());
Ensure the fix compiles and maintains intended behavior.