[PATCH] D13000: [libclang] Expose AutoType

2015-09-20 Thread Sergey Kalinichev via cfe-commits
skalinichev created this revision. skalinichev added a subscriber: cfe-commits. This exposes the AutoType through LibClang interface http://reviews.llvm.org/D13000 Files: bindings/python/clang/cindex.py include/clang-c/Index.h test/Index/print-type.cpp tools/libclang/CXType.cpp Index:

[PATCH] D13001: [libclang] Handle AutoType in clang_getTypeDeclaration

2015-09-20 Thread Sergey Kalinichev via cfe-commits
skalinichev created this revision. skalinichev added a subscriber: cfe-commits. Now that auto type is fixed by D11976, it also makes sense to support it in clang_getTypeDeclaration. I couldn't find any existing tests for this method, so no tests added... http://reviews.llvm.org/D13001 Files:

Re: [PATCH] D12761: MPI-Checker patch for Clang Static Analyzer

2015-09-20 Thread Alexander Droste via cfe-commits
Alexander_Droste marked 2 inline comments as done. Comment at: tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.cpp:137 @@ +136,3 @@ + + // This is never reached... + llvm::outs() << "" I figured out what the problem about the

r248137 - Don't pass StringRefs around by const reference. Pass by value instead per coding standards. NFC

2015-09-20 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sun Sep 20 19:20:04 2015 New Revision: 248137 URL: http://llvm.org/viewvc/llvm-project?rev=248137=rev Log: Don't pass StringRefs around by const reference. Pass by value instead per coding standards. NFC Modified: cfe/trunk/lib/Driver/Tools.cpp Modified:

r248138 - Pass SourceLocation by value instead of by const reference since its just a 32-bit integer. NFC

2015-09-20 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sun Sep 20 20:23:32 2015 New Revision: 248138 URL: http://llvm.org/viewvc/llvm-project?rev=248138=rev Log: Pass SourceLocation by value instead of by const reference since its just a 32-bit integer. NFC Modified: cfe/trunk/lib/Sema/SemaOpenMP.cpp Modified:

[clang-tools-extra] r248139 - Pass SourceLocation by value instead of by const reference since its just a 32-bit integer. NFC

2015-09-20 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sun Sep 20 20:33:03 2015 New Revision: 248139 URL: http://llvm.org/viewvc/llvm-project?rev=248139=rev Log: Pass SourceLocation by value instead of by const reference since its just a 32-bit integer. NFC Modified:

Re: [PATCH] D12839: Extend MoveConstructorInitCheck to also flag constructor arguments passed by value and can be moved assigned to fields.

2015-09-20 Thread Felix Berger via cfe-commits
flx updated this revision to Diff 35204. flx marked 10 inline comments as done. http://reviews.llvm.org/D12839 Files: clang-tidy/misc/MoveConstructorInitCheck.cpp clang-tidy/misc/MoveConstructorInitCheck.h clang-tidy/utils/CMakeLists.txt clang-tidy/utils/Matchers.h

Re: [PATCH] D12839: Extend MoveConstructorInitCheck to also flag constructor arguments passed by value and can be moved assigned to fields.

2015-09-20 Thread Felix Berger via cfe-commits
flx added inline comments. Comment at: clang-tidy/misc/MoveConstructorInitCheck.cpp:38 @@ +37,3 @@ + Node.isTriviallyCopyableType(Finder->getASTContext()) || + classHasTrivialCopyAndDestroy(Node)) { +return false; aaron.ballman wrote: > Why do you

r248127 - Module debugging: Support submodules in the PCM/PCH debug info.

2015-09-20 Thread Adrian Prantl via cfe-commits
Author: adrian Date: Sun Sep 20 11:51:35 2015 New Revision: 248127 URL: http://llvm.org/viewvc/llvm-project?rev=248127=rev Log: Module debugging: Support submodules in the PCM/PCH debug info. Added: cfe/trunk/test/Modules/DebugInfoSubmodules.c

[libcxxabi] r248129 - Let cxa_demangle.cpp compile with gcc/libstdc++ 4.8 and clang-cl/MSVC2013's STL.

2015-09-20 Thread Nico Weber via cfe-commits
Author: nico Date: Sun Sep 20 13:10:46 2015 New Revision: 248129 URL: http://llvm.org/viewvc/llvm-project?rev=248129=rev Log: Let cxa_demangle.cpp compile with gcc/libstdc++ 4.8 and clang-cl/MSVC2013's STL. libstdc++ needs a few typedefs in malloc_alloc. MSVC's STL needs rebind(), construct(),