[all-commits] [llvm/llvm-project] e70ca7: [clang] Build UsingType for elaborated type specif...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Thu Jan 19 05:21:26 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e70ca7b35319a3621f9d9c6475926428f8c5c000
https://github.com/llvm/llvm-project/commit/e70ca7b35319a3621f9d9c6475926428f8c5c000
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2023-01-19 (Thu, 19 Jan 2023)
Changed paths:
M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
M clang/include/clang/Sema/DeclSpec.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/CXX/drs/dr2xx.cpp
M clang/test/CXX/drs/dr4xx.cpp
Log Message:
-----------
[clang] Build UsingType for elaborated type specifiers.
Support building UsingType for elaborated type specifiers:
```
namespace ns { class Foo {}; }
using ns::Foo;
// The TypeLoc of `Foo` below should be a ElaboratedTypeLoc with an
// inner UsingTypeLoc rather than the underlying `CXXRecordTypeLoc`
class Foo foo;
```
Differential Revision: https://reviews.llvm.org/D141280
More information about the All-commits
mailing list