(After changing the scope) This PR implements parsing the reflection operator (^^) for primitive types. The goal is to keep the first PR simple. In subsequent PRs, parsing for the remaining requirements will be introduced. This implementation is based on the fork of @katzdm. Class `CXXReflectExpr` is introduced to represent the operand of the reflection operator. For now, in this PR, the type std::meta::info is not implemented yet, so when we construct an AST node CXXReflectExpr, `VoidTy` is used as placeholder type for now. The file `ParseReflect.cpp` is introduced, which for now only has the function `ParseCXXReflectExpression`. It parses the operand of the reflection operator. --------- Co-authored-by: Shafik Yaghmour <shafik.yaghmour@intel.com> Co-authored-by: Hubert Tong <hubert.reinterpretcast@gmail.com> Co-authored-by: Sirraide <aeternalmail@gmail.com> Co-authored-by: Aaron Ballman <aaron@aaronballman.com> Co-authored-by: Erich Keane <ekeane@nvidia.com>
2.9 KiB
2.9 KiB