-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"basename": "clang_ast-parse_comments_01-c88db9a", | ||
"cmd": "lc --show-clang-ast --parse-all-comments {infile} -o {outfile}", | ||
"infile": "tests/../integration_tests/parse_comments_01.cpp", | ||
"infile_hash": "6e12dc83be93e6dd0d2baab66c712b7e66c6ef700d3176978384f2c1", | ||
"outfile": null, | ||
"outfile_hash": null, | ||
"stdout": "clang_ast-parse_comments_01-c88db9a.stdout", | ||
"stdout_hash": "4adb4a4df50ef8fa3de15a8181b73b13a68f21d1611ed0b60832ee12", | ||
"stderr": null, | ||
"stderr_hash": null, | ||
"returncode": 0 | ||
} |
122 changes: 122 additions & 0 deletions
122
tests/reference/clang_ast-parse_comments_01-c88db9a.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
TranslationUnitDecl 0x156016208 <<invalid sloc>> <invalid sloc> | ||
|-TypedefDecl 0x156017090 <<invalid sloc>> <invalid sloc> implicit __int128_t '__int128' | ||
| `-BuiltinType 0x1560167d0 '__int128' | ||
|-TypedefDecl 0x156017100 <<invalid sloc>> <invalid sloc> implicit __uint128_t 'unsigned __int128' | ||
| `-BuiltinType 0x1560167f0 'unsigned __int128' | ||
|-TypedefDecl 0x15604d488 <<invalid sloc>> <invalid sloc> implicit __NSConstantString '__NSConstantString_tag' | ||
| `-RecordType 0x15604d200 '__NSConstantString_tag' | ||
| `-CXXRecord 0x156017158 '__NSConstantString_tag' | ||
|-TypedefDecl 0x15604d4f0 <<invalid sloc>> <invalid sloc> implicit __SVInt8_t '__SVInt8_t' | ||
| `-BuiltinType 0x1560169d0 '__SVInt8_t' | ||
|-TypedefDecl 0x15604d558 <<invalid sloc>> <invalid sloc> implicit __SVInt16_t '__SVInt16_t' | ||
| `-BuiltinType 0x1560169f0 '__SVInt16_t' | ||
|-TypedefDecl 0x15604d5c0 <<invalid sloc>> <invalid sloc> implicit __SVInt32_t '__SVInt32_t' | ||
| `-BuiltinType 0x156016a10 '__SVInt32_t' | ||
|-TypedefDecl 0x15604d628 <<invalid sloc>> <invalid sloc> implicit __SVInt64_t '__SVInt64_t' | ||
| `-BuiltinType 0x156016a30 '__SVInt64_t' | ||
|-TypedefDecl 0x15604d690 <<invalid sloc>> <invalid sloc> implicit __SVUint8_t '__SVUint8_t' | ||
| `-BuiltinType 0x156016a50 '__SVUint8_t' | ||
|-TypedefDecl 0x15604d6f8 <<invalid sloc>> <invalid sloc> implicit __SVUint16_t '__SVUint16_t' | ||
| `-BuiltinType 0x156016a70 '__SVUint16_t' | ||
|-TypedefDecl 0x15604d760 <<invalid sloc>> <invalid sloc> implicit __SVUint32_t '__SVUint32_t' | ||
| `-BuiltinType 0x156016a90 '__SVUint32_t' | ||
|-TypedefDecl 0x15604d7c8 <<invalid sloc>> <invalid sloc> implicit __SVUint64_t '__SVUint64_t' | ||
| `-BuiltinType 0x156016ab0 '__SVUint64_t' | ||
|-TypedefDecl 0x15604d830 <<invalid sloc>> <invalid sloc> implicit __SVFloat16_t '__SVFloat16_t' | ||
| `-BuiltinType 0x156016ad0 '__SVFloat16_t' | ||
|-TypedefDecl 0x15604d898 <<invalid sloc>> <invalid sloc> implicit __SVFloat32_t '__SVFloat32_t' | ||
| `-BuiltinType 0x156016af0 '__SVFloat32_t' | ||
|-TypedefDecl 0x15604d900 <<invalid sloc>> <invalid sloc> implicit __SVFloat64_t '__SVFloat64_t' | ||
| `-BuiltinType 0x156016b10 '__SVFloat64_t' | ||
|-TypedefDecl 0x15604d968 <<invalid sloc>> <invalid sloc> implicit __SVBFloat16_t '__SVBFloat16_t' | ||
| `-BuiltinType 0x156016b30 '__SVBFloat16_t' | ||
|-TypedefDecl 0x15604d9d0 <<invalid sloc>> <invalid sloc> implicit __clang_svint8x2_t '__clang_svint8x2_t' | ||
| `-BuiltinType 0x156016b50 '__clang_svint8x2_t' | ||
|-TypedefDecl 0x15604da38 <<invalid sloc>> <invalid sloc> implicit __clang_svint16x2_t '__clang_svint16x2_t' | ||
| `-BuiltinType 0x156016b70 '__clang_svint16x2_t' | ||
|-TypedefDecl 0x15604daa0 <<invalid sloc>> <invalid sloc> implicit __clang_svint32x2_t '__clang_svint32x2_t' | ||
| `-BuiltinType 0x156016b90 '__clang_svint32x2_t' | ||
|-TypedefDecl 0x15604db08 <<invalid sloc>> <invalid sloc> implicit __clang_svint64x2_t '__clang_svint64x2_t' | ||
| `-BuiltinType 0x156016bb0 '__clang_svint64x2_t' | ||
|-TypedefDecl 0x15604db70 <<invalid sloc>> <invalid sloc> implicit __clang_svuint8x2_t '__clang_svuint8x2_t' | ||
| `-BuiltinType 0x156016bd0 '__clang_svuint8x2_t' | ||
|-TypedefDecl 0x15604dbd8 <<invalid sloc>> <invalid sloc> implicit __clang_svuint16x2_t '__clang_svuint16x2_t' | ||
| `-BuiltinType 0x156016bf0 '__clang_svuint16x2_t' | ||
|-TypedefDecl 0x15604dc40 <<invalid sloc>> <invalid sloc> implicit __clang_svuint32x2_t '__clang_svuint32x2_t' | ||
| `-BuiltinType 0x156016c10 '__clang_svuint32x2_t' | ||
|-TypedefDecl 0x15604dca8 <<invalid sloc>> <invalid sloc> implicit __clang_svuint64x2_t '__clang_svuint64x2_t' | ||
| `-BuiltinType 0x156016c30 '__clang_svuint64x2_t' | ||
|-TypedefDecl 0x15604dd10 <<invalid sloc>> <invalid sloc> implicit __clang_svfloat16x2_t '__clang_svfloat16x2_t' | ||
| `-BuiltinType 0x156016c50 '__clang_svfloat16x2_t' | ||
|-TypedefDecl 0x15604dd78 <<invalid sloc>> <invalid sloc> implicit __clang_svfloat32x2_t '__clang_svfloat32x2_t' | ||
| `-BuiltinType 0x156016c70 '__clang_svfloat32x2_t' | ||
|-TypedefDecl 0x15604dde0 <<invalid sloc>> <invalid sloc> implicit __clang_svfloat64x2_t '__clang_svfloat64x2_t' | ||
| `-BuiltinType 0x156016c90 '__clang_svfloat64x2_t' | ||
|-TypedefDecl 0x15604de48 <<invalid sloc>> <invalid sloc> implicit __clang_svbfloat16x2_t '__clang_svbfloat16x2_t' | ||
| `-BuiltinType 0x156016cb0 '__clang_svbfloat16x2_t' | ||
|-TypedefDecl 0x15604deb0 <<invalid sloc>> <invalid sloc> implicit __clang_svint8x3_t '__clang_svint8x3_t' | ||
| `-BuiltinType 0x156016cd0 '__clang_svint8x3_t' | ||
|-TypedefDecl 0x15604df18 <<invalid sloc>> <invalid sloc> implicit __clang_svint16x3_t '__clang_svint16x3_t' | ||
| `-BuiltinType 0x156016cf0 '__clang_svint16x3_t' | ||
|-TypedefDecl 0x15604df80 <<invalid sloc>> <invalid sloc> implicit __clang_svint32x3_t '__clang_svint32x3_t' | ||
| `-BuiltinType 0x156016d10 '__clang_svint32x3_t' | ||
|-TypedefDecl 0x15604dfe8 <<invalid sloc>> <invalid sloc> implicit __clang_svint64x3_t '__clang_svint64x3_t' | ||
| `-BuiltinType 0x156016d30 '__clang_svint64x3_t' | ||
|-TypedefDecl 0x15604e050 <<invalid sloc>> <invalid sloc> implicit __clang_svuint8x3_t '__clang_svuint8x3_t' | ||
| `-BuiltinType 0x156016d50 '__clang_svuint8x3_t' | ||
|-TypedefDecl 0x15604e0b8 <<invalid sloc>> <invalid sloc> implicit __clang_svuint16x3_t '__clang_svuint16x3_t' | ||
| `-BuiltinType 0x156016d70 '__clang_svuint16x3_t' | ||
|-TypedefDecl 0x15604e120 <<invalid sloc>> <invalid sloc> implicit __clang_svuint32x3_t '__clang_svuint32x3_t' | ||
| `-BuiltinType 0x156016d90 '__clang_svuint32x3_t' | ||
|-TypedefDecl 0x15604e188 <<invalid sloc>> <invalid sloc> implicit __clang_svuint64x3_t '__clang_svuint64x3_t' | ||
| `-BuiltinType 0x156016db0 '__clang_svuint64x3_t' | ||
|-TypedefDecl 0x15781c600 <<invalid sloc>> <invalid sloc> implicit __clang_svfloat16x3_t '__clang_svfloat16x3_t' | ||
| `-BuiltinType 0x156016dd0 '__clang_svfloat16x3_t' | ||
|-TypedefDecl 0x15781c668 <<invalid sloc>> <invalid sloc> implicit __clang_svfloat32x3_t '__clang_svfloat32x3_t' | ||
| `-BuiltinType 0x156016df0 '__clang_svfloat32x3_t' | ||
|-TypedefDecl 0x15781c6d0 <<invalid sloc>> <invalid sloc> implicit __clang_svfloat64x3_t '__clang_svfloat64x3_t' | ||
| `-BuiltinType 0x156016e10 '__clang_svfloat64x3_t' | ||
|-TypedefDecl 0x15781c738 <<invalid sloc>> <invalid sloc> implicit __clang_svbfloat16x3_t '__clang_svbfloat16x3_t' | ||
| `-BuiltinType 0x156016e30 '__clang_svbfloat16x3_t' | ||
|-TypedefDecl 0x15781c7a0 <<invalid sloc>> <invalid sloc> implicit __clang_svint8x4_t '__clang_svint8x4_t' | ||
| `-BuiltinType 0x156016e50 '__clang_svint8x4_t' | ||
|-TypedefDecl 0x15781c808 <<invalid sloc>> <invalid sloc> implicit __clang_svint16x4_t '__clang_svint16x4_t' | ||
| `-BuiltinType 0x156016e70 '__clang_svint16x4_t' | ||
|-TypedefDecl 0x15781c870 <<invalid sloc>> <invalid sloc> implicit __clang_svint32x4_t '__clang_svint32x4_t' | ||
| `-BuiltinType 0x156016e90 '__clang_svint32x4_t' | ||
|-TypedefDecl 0x15781c8d8 <<invalid sloc>> <invalid sloc> implicit __clang_svint64x4_t '__clang_svint64x4_t' | ||
| `-BuiltinType 0x156016eb0 '__clang_svint64x4_t' | ||
|-TypedefDecl 0x15781c940 <<invalid sloc>> <invalid sloc> implicit __clang_svuint8x4_t '__clang_svuint8x4_t' | ||
| `-BuiltinType 0x156016ed0 '__clang_svuint8x4_t' | ||
|-TypedefDecl 0x15781c9a8 <<invalid sloc>> <invalid sloc> implicit __clang_svuint16x4_t '__clang_svuint16x4_t' | ||
| `-BuiltinType 0x156016ef0 '__clang_svuint16x4_t' | ||
|-TypedefDecl 0x15781ca10 <<invalid sloc>> <invalid sloc> implicit __clang_svuint32x4_t '__clang_svuint32x4_t' | ||
| `-BuiltinType 0x156016f10 '__clang_svuint32x4_t' | ||
|-TypedefDecl 0x15781ca78 <<invalid sloc>> <invalid sloc> implicit __clang_svuint64x4_t '__clang_svuint64x4_t' | ||
| `-BuiltinType 0x156016f30 '__clang_svuint64x4_t' | ||
|-TypedefDecl 0x15781cae0 <<invalid sloc>> <invalid sloc> implicit __clang_svfloat16x4_t '__clang_svfloat16x4_t' | ||
| `-BuiltinType 0x156016f50 '__clang_svfloat16x4_t' | ||
|-TypedefDecl 0x15781cb48 <<invalid sloc>> <invalid sloc> implicit __clang_svfloat32x4_t '__clang_svfloat32x4_t' | ||
| `-BuiltinType 0x156016f70 '__clang_svfloat32x4_t' | ||
|-TypedefDecl 0x15781cbb0 <<invalid sloc>> <invalid sloc> implicit __clang_svfloat64x4_t '__clang_svfloat64x4_t' | ||
| `-BuiltinType 0x156016f90 '__clang_svfloat64x4_t' | ||
|-TypedefDecl 0x15781cc18 <<invalid sloc>> <invalid sloc> implicit __clang_svbfloat16x4_t '__clang_svbfloat16x4_t' | ||
| `-BuiltinType 0x156016fb0 '__clang_svbfloat16x4_t' | ||
|-TypedefDecl 0x15781cc80 <<invalid sloc>> <invalid sloc> implicit __SVBool_t '__SVBool_t' | ||
| `-BuiltinType 0x156016fd0 '__SVBool_t' | ||
|-TypedefDecl 0x15781cd20 <<invalid sloc>> <invalid sloc> implicit __builtin_ms_va_list 'char *' | ||
| `-PointerType 0x15781cce0 'char *' | ||
| `-BuiltinType 0x1560162b0 'char' | ||
|-TypedefDecl 0x15781cd90 <<invalid sloc>> <invalid sloc> implicit __builtin_va_list 'char *' | ||
| `-PointerType 0x15781cce0 'char *' | ||
| `-BuiltinType 0x1560162b0 'char' | ||
`-FunctionDecl 0x15781ce40 <$DIR/tests/../integration_tests/parse_comments_01.cpp:1:1, line:12:1> line:1:5 main 'int ()' | ||
`-CompoundStmt 0x15781d078 <line:2:1, line:12:1> | ||
|-DeclStmt 0x15781d030 <line:6:5, col:10> | ||
| `-VarDecl 0x15781cfa0 <col:5, col:9> col:9 a 'int' | ||
| `-FullComment 0x15781d148 <line:3:7, line:4:59> | ||
| `-ParagraphComment 0x15781d120 <line:3:7, line:4:59> | ||
| |-TextComment 0x15781d0d0 <line:3:7, col:36> Text=" #pragma clang diagnostic push" | ||
| `-TextComment 0x15781d0f0 <line:4:7, col:59> Text=" #pragma clang diagnostic ignored "-Wunused-variable"" | ||
`-ReturnStmt 0x15781d068 <line:11:5, col:12> | ||
`-IntegerLiteral 0x15781d048 <col:12> 'int' 0 |