llvm-project/clang/tools/libclang
Manman Ren e6be26c8d4 ObjectiveC generics: Add ObjCTypeParamType in the type system.
We also need to add ObjCTypeParamTypeLoc. ObjCTypeParamType supports the
representation of "T <protocol>" where T is a type parameter. Before this,
we use TypedefType to represent the type parameter for ObjC.

ObjCTypeParamType has "ObjCTypeParamDecl *OTPDecl" and it extends from
ObjCProtocolQualifiers. It is a non-canonical type and is canonicalized
to the underlying type with the protocol qualifiers.

rdar://24619481
rdar://25060179

Differential Revision: http://reviews.llvm.org/D23079

llvm-svn: 281355
2016-09-13 17:25:08 +00:00
..
ARCMigrate.cpp push_back() loop -> append() for random access iterators. 2015-06-12 15:31:50 +00:00
BuildSystem.cpp Add clang_free to libclang to free memory allocated in libclang. 2015-07-09 07:53:23 +00:00
CIndex.cpp ObjectiveC generics: Add ObjCTypeParamType in the type system. 2016-09-13 17:25:08 +00:00
CIndexCXX.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CIndexCodeCompletion.cpp [libclang] Use lambdas instead of explicit structs when storing arguments. 2015-07-25 20:55:44 +00:00
CIndexDiagnostic.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CIndexDiagnostic.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
CIndexHigh.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CIndexInclusionStack.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CIndexUSRs.cpp [index] Create different USR if a property is a class property. 2016-07-15 22:18:19 +00:00
CIndexer.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CIndexer.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CLog.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
CMakeLists.txt Tweak CMakeLists not for libclang to depend on the variable CLANG_TOOL_EXTRA_BUILD. 2016-03-03 11:09:43 +00:00
CXComment.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CXComment.h [cleanup] Re-sort the #include lines using llvm/utils/sort_includes.py 2015-01-14 11:23:58 +00:00
CXCompilationDatabase.cpp [tooling] In CompileCommand, Expose the 'file' that was associated with the command. 2015-09-11 20:43:05 +00:00
CXCursor.cpp Revert "[OpenMP] Sema and parsing for 'teams distribute simd’ pragma" 2016-08-18 09:25:07 +00:00
CXCursor.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
CXIndexDataConsumer.cpp When we reach the end of a #include of a header of a local submodule that we 2016-09-01 20:15:25 +00:00
CXIndexDataConsumer.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CXLoadedDiagnostic.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CXLoadedDiagnostic.h [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CXSourceLocation.cpp Fix some Clang-tidy readability-redundant-control-flow warnings; other minor fixes. 2016-02-10 19:11:58 +00:00
CXSourceLocation.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
CXStoredDiagnostic.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CXString.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CXString.h libclang: add new StringSet type 2015-11-12 03:57:16 +00:00
CXTranslationUnit.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
CXType.cpp AMDGPU: Set amdgpu_kernel calling convention for OpenCL kernels. 2016-06-30 09:06:33 +00:00
CXType.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
CursorVisitor.h [libclang] Sync-up the way top-level decls in an ASTUnit are handled with how decls in a DeclContext are handled. 2016-07-01 19:10:54 +00:00
Index_Internal.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Indexing.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
libclang.exports [libclang] Added missing entry for newly introduced 'clang_getAllSkippedRanges' to libclang.exports 2016-08-18 17:18:03 +00:00