CP: Fixes Typographical Errors in C++ Front-End Files
This commit corrects typos in various C++ front-end files, improving code clarity and maintainability.
This commit resolves typographical errors in multiple files within the C++ front-end (CP) of GCC. The corrections span across call.cc, class.cc, constexpr.cc, contracts.cc, coroutines.cc, cp-tree.def, cp-tree.h, decl.cc, decl2.cc, g++spec.cc, init.cc, mangle.cc, method.cc, and module.cc. These changes enhance the readability and maintainability of the C++ front-end code, ensuring clarity and reducing potential misinterpretations.
In Details
The C++ front-end (CP) handles parsing, semantic analysis, and code generation for C++ code within GCC. The affected files cover diverse aspects of C++ compilation, including function calls, class structures, constant expressions, contracts, coroutines, declarations, initialization, name mangling, methods, and module processing. Fixing typos contributes to the overall quality and understandability of the C++ front-end code.
For Context
GCC compiles C++ code using a component called the C++ front-end. This part of GCC takes C++ source code and converts it into a format that the rest of the compiler can understand. By fixing typos in the C++ front-end's code, this commit makes the code easier to read and maintain.