[PATCH] D25363: Store a SourceRange for multi-token builtin types
Malcolm Parsons via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 18 03:52:42 PDT 2016
malcolm.parsons added inline comments.
================
Comment at: unittests/AST/SourceLocationTest.cpp:228
+}
+
TEST(CXXConstructorDecl, NoRetFunTypeLocRange) {
----------------
aaron.ballman wrote:
> Can you also add a test that the range is correct for something like `long double` and `long double _Complex`?
`ComplexTypeLoc` isn't implemented.
include/clang/AST/TypeLoc.h:
```
// FIXME: location of the '_Complex' keyword.
class ComplexTypeLoc : public InheritingConcreteTypeLoc<TypeSpecTypeLoc,
ComplexTypeLoc,
ComplexType> {
};
```
https://reviews.llvm.org/D25363
More information about the cfe-commits
mailing list