llvm-project/clang/tools/libclang
Alexander Kornienko 1a9f184734 Refactor: Simplify boolean conditional return statements in tools/libclang
Summary: Use clang-tidy to simplify boolean conditional return statements.

Reviewers: alexfh

Subscribers: alexfh, chfast, cfe-commits

Patch by Richard Thomson!

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

llvm-svn: 256498
2015-12-28 15:24: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 Refactor: Simplify boolean conditional return statements in tools/libclang 2015-12-28 15:24: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 Roll-back r250822. 2015-10-20 13:23:58 +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 Fix a typo in the function name that I just introduced (r201155) 2014-02-11 15:02:48 +00:00
CIndexUSRs.cpp [cleanup] Re-sort the #include lines using llvm/utils/sort_includes.py 2015-01-14 11:23:58 +00:00
CIndexer.cpp libclang: Remove clang::RemapFiles, it's dead code. 2013-06-13 13:57:48 +00:00
CIndexer.h [libclang] Use lambdas instead of explicit structs when storing arguments. 2015-07-25 20:55:44 +00:00
CLog.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
CMakeLists.txt [CMake] Setup an install component for libclang and c-index-test. 2015-11-12 00:46:57 +00:00
CXComment.cpp [cleanup] Re-sort the #include lines using llvm/utils/sort_includes.py 2015-01-14 11:23:58 +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 Add parse and sema of OpenMP distribute directive with all clauses except dist_schedule 2015-12-14 14:51:25 +00:00
CXCursor.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
CXLoadedDiagnostic.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
CXLoadedDiagnostic.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
CXSourceLocation.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXSourceLocation.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
CXStoredDiagnostic.cpp libclang: remove 'CXDiagnostic_Remark' 2014-04-26 14:43:53 +00:00
CXString.cpp Try to fix leak in CXStringSet from r252853 2015-11-18 01:06:39 +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 [libclang] Expose AutoType 2015-11-15 13:10:10 +00:00
CXType.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
CursorVisitor.h [libclang] Visit TypeAliasTemplateDecl 2015-11-15 13:48:32 +00:00
IndexBody.cpp Teach RAV to pass its DataRecursionQueue to derived classes if they ask for it, 2015-11-24 23:50:47 +00:00
IndexDecl.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
IndexTypeSourceInfo.cpp Remove DataRecursiveASTVisitor; it no longer serves any purpose, since it's just an alias for RecursiveASTVisitor. 2015-11-24 03:55:01 +00:00
Index_Internal.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Indexing.cpp Refactor: Simplify boolean conditional return statements in tools/libclang 2015-12-28 15:24:08 +00:00
IndexingContext.cpp Refactor: Simplify boolean conditional return statements in tools/libclang 2015-12-28 15:24:08 +00:00
IndexingContext.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
Makefile Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
libclang.exports Make clang_Cursor_getMangling not mangle if the declaration isn't mangled 2015-11-23 19:56:46 +00:00