Preview: Example1.cpp
Size: 1.00 KB
//opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/build/support/vendor/cxx_hinted_parser/spec/Example1.cpp
/**
* - begin hinted parseable struct -
*/
struct Foo {
// @hinted_parseable
int oneWordType;
char nonParseableField;
// @hinted_parseable
unsigned int twoWordsType;
// @hinted_parseable
__attribute__((aligned(64))) char fieldWithAttribute;
/**
* This is a description.
*
* @hinted_parseable
*/
int multiLineComment;
// This is a description.
//
// @hinted_parseable
int multipleSingleLineComments;
/**
* This is a description.
*
* @hinted_parseable
*
* More text.
*/
int moreCommentsAfterHint;
// This is a description.
//
// @hinted_parseable
//
// More text.
int moreSingleLineCommentsAfterHint;
// @hinted_parseable
int bitfield: 8;
// @hinted_parseable
void *pointer;
// @hinted_parseable
set<string> templateType;
// @hinted_parseable
char array[];
// @hinted_parseable
const int constField;
// @hinted_parseable
const int const constConstField;
// @hinted_parseable
const char * const * constConstCharArray[];
};
// - end hinted parseable struct -
Directory Contents
Dirs: 0 × Files: 4