We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
clang file.c -x c++ -Xclang -ast-dump -fsyntax-only
#define MAX_VALUE (10) int iVal1 = int iVal2 = MAX_VALUE;
file.c:3:1: error: expected expression int iVal2 = MAX_VALUE; ^ TranslationUnitDecl 0x21bb4965f08 <<invalid sloc>> <invalid sloc> |-TypedefDecl 0x21bb49667a0 <<invalid sloc>> <invalid sloc> implicit __int128_t '__int128' | `-BuiltinType 0x21bb49664a0 '__int128' |-TypedefDecl 0x21bb4966810 <<invalid sloc>> <invalid sloc> implicit __uint128_t 'unsigned __int128' | `-BuiltinType 0x21bb49664c0 'unsigned __int128' |-TypedefDecl 0x21bb4966b18 <<invalid sloc>> <invalid sloc> implicit __NSConstantString 'struct __NSConstantString_tag' | `-RecordType 0x21bb49668f0 'struct __NSConstantString_tag' | `-Record 0x21bb4966868 '__NSConstantString_tag' |-TypedefDecl 0x21bb4966b88 <<invalid sloc>> <invalid sloc> implicit size_t 'unsigned long long' | `-BuiltinType 0x21bb49660e0 'unsigned long long' |-TypedefDecl 0x21bb4966c20 <<invalid sloc>> <invalid sloc> implicit __builtin_ms_va_list 'char *' | `-PointerType 0x21bb4966be0 'char *' | `-BuiltinType 0x21bb4965fa0 'char' |-TypedefDecl 0x21bb4966c90 <<invalid sloc>> <invalid sloc> implicit __builtin_va_list 'char *' | `-PointerType 0x21bb4966be0 'char *' | `-BuiltinType 0x21bb4965fa0 'char' `-VarDecl 0x21bb4966d00 <file.c:2:1, col:5> col:5 iVal1 'int' 1 error generated. PS D:\>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
clang file.c -x c++ -Xclang -ast-dump -fsyntax-only
The text was updated successfully, but these errors were encountered: