[PATCH] D132749: Expose QualType::getUnqualifiedType in libclang
    Luca Di sera via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Fri Aug 26 10:05:35 PDT 2022
    
    
  
diseraluca created this revision.
diseraluca added a reviewer: aaron.ballman.
Herald added a subscriber: arphaman.
Herald added a project: All.
diseraluca requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
The method is now wrapped by `clang_getUnqualifiedType`.
A declaration for `clang_getUnqualifiedType` was added to
`clang-c/Index.h` to expose it to user of the library.
An implementation for `clang_getUnqualifiedType` was introduced in
`CXType.cpp` that wraps the equivalent method of the underlying
`QualType` of a `CXType`.
An export symbol was added to `libclang.map` under the new version entry
`LLVM_16`.
A test was added to `LibclangTest.cpp` that tests the removal of
qualifiers for some `CXType`s.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D132749
Files:
  clang/include/clang-c/Index.h
  clang/tools/libclang/CXType.cpp
  clang/tools/libclang/libclang.map
  clang/unittests/libclang/LibclangTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132749.455949.patch
Type: text/x-patch
Size: 4719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220826/bd82345f/attachment.bin>
    
    
More information about the cfe-commits
mailing list