hanchenye-llvm-project/clang/tools/libclang
Haojian Wu ef87c26796 [AST] Unify the code paths of traversing lambda expressions.
Summary:
This supposes to be a non-functional change. We have two code paths when
traversing lambda expressions:

1) traverse the function proto typeloc when parameters and return type
are explicit;
2) otherwise fallback to traverse parameter decls and return type loc
individually;

This patch unifies the code path to always traverse parameters and
return type, rather than relying on traversing the full type-loc.

Reviewers: ilya-biryukov

Subscribers: arphaman, cfe-commits

Differential Revision: https://reviews.llvm.org/D55820

llvm-svn: 349494
2018-12-18 15:29:12 +00:00
..
ARCMigrate.cpp
BuildSystem.cpp Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
CIndex.cpp [AST] Unify the code paths of traversing lambda expressions. 2018-12-18 15:29:12 +00:00
CIndexCXX.cpp
CIndexCodeCompletion.cpp Fix includes and dependencies for libclang 2018-12-15 04:25:19 +00:00
CIndexDiagnostic.cpp Fix includes and dependencies for libclang 2018-12-15 04:25:19 +00:00
CIndexDiagnostic.h
CIndexHigh.cpp
CIndexInclusionStack.cpp
CIndexUSRs.cpp
CIndexer.cpp
CIndexer.h
CLog.h
CMakeLists.txt [libclang] Add dependency on clangSerialization to unbreak -DBUILD_SHARED_LIBS=1 build after rC349237 2018-12-15 08:54:06 +00:00
CXComment.cpp
CXComment.h
CXCompilationDatabase.cpp
CXCursor.cpp [libclang] Fix clang_Cursor_getNumArguments and clang_Cursor_getArgument for CXXConstructExpr 2018-11-27 12:02:39 +00:00
CXCursor.h [libclang] Unify getCursorDecl and getCursorParentDecl 2018-11-20 08:00:00 +00:00
CXIndexDataConsumer.cpp [index] Enhance indexing for module references 2018-09-18 15:02:56 +00:00
CXIndexDataConsumer.h [index] Enhance indexing for module references 2018-09-18 15:02:56 +00:00
CXLoadedDiagnostic.cpp
CXLoadedDiagnostic.h
CXSourceLocation.cpp
CXSourceLocation.h
CXStoredDiagnostic.cpp Fix includes and dependencies for libclang 2018-12-15 04:25:19 +00:00
CXString.cpp
CXString.h
CXTranslationUnit.h
CXType.cpp [AArch64] Add aarch64_vector_pcs function attribute to Clang 2018-11-26 16:38:37 +00:00
CXType.h
CursorVisitor.h
Index_Internal.h
Indexing.cpp [Index] Set OrigD before D is changed. 2018-07-20 08:08:56 +00:00
libclang.exports [libclang 7/8] Add support for getting property setter and getter names 2018-08-03 05:38:29 +00:00