Re: [PATCH] D11085: compiler-rt: add support for mingw-w64 in builtins

2015-10-22 Thread Vadim Chugunov via cfe-commits
vadimcn added a subscriber: vadimcn. vadimcn added a comment. Hi! So apparently LLVM lowers `alloca`'s of large buffers into a call to `_alloca` (makes sense I guess - if the buffer is larger than a page). Why wasn't it added along with `_chkstk`? Is `_alloca` available from some other mingw l

RE: [libcxx] r251065 - Dont required CMake 3 to install a linker script

2015-10-22 Thread Hahnfeld, Jonas via cfe-commits
Hi, thanks for the attempt to fix this, but this isn't working for in-tree builds of libcxx: CMake Error at projects/libcxx/lib/cmake_install.cmake:56 (FILE): file INSTALL cannot find "<<>>/projects/libcxx/lib/libc++.so" It is located at <<>>/lib/libc++.so. CMake version is 2.8.12.2 which s

Re: [PATCH] D13357: [Concepts] Diagnose when 'concept' is specified on a specialization

2015-10-22 Thread Nathan Wilson via cfe-commits
nwilson added inline comments. Comment at: include/clang/AST/Decl.h:1577 @@ -1576,2 +1576,3 @@ bool IsConstexpr : 1; + bool IsConcept : 1; faisalv wrote: > My inclination would have been to add this bit to FunctionTemplateDecl, > instead of to every Functio

[PATCH] D14000: [CUDA] Allow code generation for functions with target attributes that don't match compilation mode.

2015-10-22 Thread Artem Belevich via cfe-commits
tra created this revision. tra added reviewers: eliben, jingyue, jpienaar, echristo. tra added a subscriber: cfe-commits. Currently -fcuda-disable-target-call-checks option enables parsing of code that calls across host/device boundary. However, we don't emit any IR for functions that don't have

r251072 - Use newly introduced interfaces in LLVM (NFC)

2015-10-22 Thread Xinliang David Li via cfe-commits
Author: davidxl Date: Thu Oct 22 17:25:11 2015 New Revision: 251072 URL: http://llvm.org/viewvc/llvm-project?rev=251072&view=rev Log: Use newly introduced interfaces in LLVM (NFC) Replaced references to raw strings in instrumentation and coverage code. Modified: cfe/trunk/lib/CodeGen/CodeGen

Re: [libcxx] r250319 - [libcxx] Make it drastically simpler to link libc++.

2015-10-22 Thread Alexey Samsonov via cfe-commits
Seems to work now, thanks for the quick fix! On Thu, Oct 22, 2015 at 1:57 PM, Eric Fiselier wrote: > Hi Alexey, > > Please confirm that this works for you now after r251063. Sorry for the > breakage. > > /Eric > > On Thu, Oct 22, 2015 at 9:23 AM, Alexey Samsonov > wrote: > >> After this change

[libcxx] r251065 - Dont required CMake 3 to install a linker script

2015-10-22 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Oct 22 16:24:01 2015 New Revision: 251065 URL: http://llvm.org/viewvc/llvm-project?rev=251065&view=rev Log: Dont required CMake 3 to install a linker script Modified: libcxx/trunk/lib/CMakeLists.txt Modified: libcxx/trunk/lib/CMakeLists.txt URL: http://llvm.org/view

Re: [libcxx] r251062 - Disable linker scripts when the ABI library is not specified or is none.

2015-10-22 Thread Jonathan Roelofs via cfe-commits
On 10/22/15 2:59 PM, Eric Fiselier wrote: Yeah, that review hasn't landed yet. It should be called auto, but we need to make it actually "automatic". Currently "none" really means don't help me, not that we will automatically figure it out for you. I agree with your requested change, it's just

Re: [libcxx] r251062 - Disable linker scripts when the ABI library is not specified or is none.

2015-10-22 Thread Eric Fiselier via cfe-commits
Yeah, that review hasn't landed yet. It should be called auto, but we need to make it actually "automatic". Currently "none" really means don't help me, not that we will automatically figure it out for you. I agree with your requested change, it's just a bunch of work that should probably be done o

Re: [libcxx] r250319 - [libcxx] Make it drastically simpler to link libc++.

2015-10-22 Thread Eric Fiselier via cfe-commits
Hi Alexey, Please confirm that this works for you now after r251063. Sorry for the breakage. /Eric On Thu, Oct 22, 2015 at 9:23 AM, Alexey Samsonov wrote: > After this change I am unable to configure libcxx as external project from > compiler-rt with extra build flags. > The problem is gen_lin

Re: [libcxx] r251062 - Disable linker scripts when the ABI library is not specified or is none.

2015-10-22 Thread Jonathan Roelofs via cfe-commits
On 10/22/15 2:50 PM, Eric Fiselier via cfe-commits wrote: Author: ericwf Date: Thu Oct 22 15:50:07 2015 New Revision: 251062 URL: http://llvm.org/viewvc/llvm-project?rev=251062&view=rev Log: Disable linker scripts when the ABI library is not specified or is none. Modified: libcxx/trunk/C

[libcxx] r251063 - Only disable linker script when LIBCXX_CXX_ABI_LIBNAME is none

2015-10-22 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Oct 22 15:54:27 2015 New Revision: 251063 URL: http://llvm.org/viewvc/llvm-project?rev=251063&view=rev Log: Only disable linker script when LIBCXX_CXX_ABI_LIBNAME is none Modified: libcxx/trunk/CMakeLists.txt libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake Modif

[libcxx] r251062 - Disable linker scripts when the ABI library is not specified or is none.

2015-10-22 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Thu Oct 22 15:50:07 2015 New Revision: 251062 URL: http://llvm.org/viewvc/llvm-project?rev=251062&view=rev Log: Disable linker scripts when the ABI library is not specified or is none. Modified: libcxx/trunk/CMakeLists.txt Modified: libcxx/trunk/CMakeLists.txt URL: http

Re: [PATCH] D13959: Fix crash in EmitDeclMetadata mode

2015-10-22 Thread Keno Fischer via cfe-commits
loladiro added a comment. Can you provide insight as to why this is looking at MangledDeclNames rather than the StaticLocalDeclMap? I'd like to extend the comment with an explanation. Repository: rL LLVM http://reviews.llvm.org/D13959 ___ cfe-co

Re: [PATCH] D13973: CFG: Delay creating Dtors for CompoundStmts which end in ReturnStmt

2015-10-22 Thread Matthias Gehre via cfe-commits
mgehre updated this revision to Diff 38157. mgehre added a comment. Add test case http://reviews.llvm.org/D13973 Files: lib/Analysis/CFG.cpp test/Analysis/no-unreachable-dtors.cpp Index: test/Analysis/no-unreachable-dtors.cpp

Re: [libcxx] r250319 - [libcxx] Make it drastically simpler to link libc++.

2015-10-22 Thread Alexey Samsonov via cfe-commits
After this change I am unable to configure libcxx as external project from compiler-rt with extra build flags. The problem is gen_link_script.py is invoked with incorrect number of arguments: LIBCXX_CXX_ABI_LIBNAME is automatically deduced to be "none", and LIBCXX_CXX_ABI_LIBRARY which is passed to

r251041 - Define weak and __weak to mean ARC-style weak references, even in MRC.

2015-10-22 Thread John McCall via cfe-commits
Author: rjmccall Date: Thu Oct 22 13:38:17 2015 New Revision: 251041 URL: http://llvm.org/viewvc/llvm-project?rev=251041&view=rev Log: Define weak and __weak to mean ARC-style weak references, even in MRC. Previously, __weak was silently accepted and ignored in MRC mode. That makes this a potenti

r251036 - [MS ABI] Don't crash when inheriting from base with trailing empty array member

2015-10-22 Thread David Majnemer via cfe-commits
Author: majnemer Date: Thu Oct 22 13:04:22 2015 New Revision: 251036 URL: http://llvm.org/viewvc/llvm-project?rev=251036&view=rev Log: [MS ABI] Don't crash when inheriting from base with trailing empty array member We got this right for Itanium but not MSVC because CGRecordLayoutBuilder was check

Re: [PATCH] D13978: [X86] Support MCU psABI when marking inregs

2015-10-22 Thread David Kreitzer via cfe-commits
DavidKreitzer added inline comments. Comment at: lib/CodeGen/TargetInfo.cpp:1239 @@ +1238,3 @@ +// The MCU psABI allows passing parameters in-reg even if there are +// earlier, parameters that are passed on the stack. Also, +// it does not allow passing >8-byte structs

[PATCH] D13980: Add "x87" in x86 target feature map

2015-10-22 Thread Andrey Turetskiy via cfe-commits
aturetsk created this revision. aturetsk added a reviewer: rsmith. aturetsk added a subscriber: cfe-commits. Add 'x87' in x86 target feature map http://reviews.llvm.org/D13980 Files: lib/Basic/Targets.cpp test/CodeGen/attr-target-x86-mmx.c test/CodeGen/attr-target-x86.c Index: test/CodeGe

[PATCH] D13987: Postpone module macro update until all headers are parsed.

2015-10-22 Thread Serge Pavlov via cfe-commits
sepavloff created this revision. sepavloff added a subscriber: cfe-commits. This change fixes performance degradation reported in PR24667. The reason of the problem is leaving module after each header, even if the next header is of the same module. With this fix module state record counts the numb

Re: [PATCH] D13959: Fix crash in EmitDeclMetadata mode

2015-10-22 Thread John McCall via cfe-commits
rjmccall added a comment. LGTM. Repository: rL LLVM http://reviews.llvm.org/D13959 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r251026 - Unbreak the shared cmake build. libToolingCore now depends on libAST.

2015-10-22 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Thu Oct 22 10:45:54 2015 New Revision: 251026 URL: http://llvm.org/viewvc/llvm-project?rev=251026&view=rev Log: Unbreak the shared cmake build. libToolingCore now depends on libAST. Modified: cfe/trunk/lib/Tooling/Core/CMakeLists.txt Modified: cfe/trunk/lib/Tooling/Core/CMa

r251025 - Disable trigraph and escaped newline expansion on all types of raw string literals not just ASCII type.

2015-10-22 Thread Craig Topper via cfe-commits
Author: ctopper Date: Thu Oct 22 10:35:21 2015 New Revision: 251025 URL: http://llvm.org/viewvc/llvm-project?rev=251025&view=rev Log: Disable trigraph and escaped newline expansion on all types of raw string literals not just ASCII type. Modified: cfe/trunk/lib/Lex/Lexer.cpp cfe/trunk/te

Re: [PATCH] D13931: [Tooling] Add a utility function to replace one nested name with another.

2015-10-22 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL251022: [Tooling] Add a utility function to replace one nested name with another. (authored by d0k). Changed prior to commit: http://reviews.llvm.org/D13931?vs=38130&id=38131#toc Repository: rL LLVM

r251022 - [Tooling] Add a utility function to replace one nested name with another.

2015-10-22 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Thu Oct 22 10:04:10 2015 New Revision: 251022 URL: http://llvm.org/viewvc/llvm-project?rev=251022&view=rev Log: [Tooling] Add a utility function to replace one nested name with another. One problem in clang-tidy and other clang tools face is that there is no way to lookup an arb

Re: [PATCH] D13931: [Tooling] Add a utility function to replace one nested name with another.

2015-10-22 Thread Manuel Klimek via cfe-commits
klimek accepted this revision. klimek added a comment. This revision is now accepted and ready to land. lg http://reviews.llvm.org/D13931 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm

Re: [PATCH] D13931: [Tooling] Add a utility function to replace one nested name with another.

2015-10-22 Thread Benjamin Kramer via cfe-commits
bkramer updated this revision to Diff 38130. bkramer added a comment. Enforce :: at the beginning of the new name. http://reviews.llvm.org/D13931 Files: include/clang/Tooling/Core/Lookup.h lib/Tooling/Core/CMakeLists.txt lib/Tooling/Core/Lookup.cpp unittests/Tooling/CMakeLists.txt uni

[clang-tools-extra] r251021 - Switch check_clang_tidy to argparse and add a -resource-dir argument.

2015-10-22 Thread Manuel Klimek via cfe-commits
Author: klimek Date: Thu Oct 22 09:54:50 2015 New Revision: 251021 URL: http://llvm.org/viewvc/llvm-project?rev=251021&view=rev Log: Switch check_clang_tidy to argparse and add a -resource-dir argument. -resource-dir can be used to inject non-standard resource dirs via the lit site config. Modif

Re: [PATCH] D13931: [Tooling] Add a utility function to replace one nested name with another.

2015-10-22 Thread Manuel Klimek via cfe-commits
klimek added inline comments. Comment at: include/clang/Tooling/Core/Lookup.h:37-38 @@ +36,4 @@ +/// \param FromDecl The declaration to which the nested name points. +/// \param ReplacementString The replacement nested name. Should be qualified, +/// leadi

Re: [PATCH] D13931: [Tooling] Add a utility function to replace one nested name with another.

2015-10-22 Thread Benjamin Kramer via cfe-commits
bkramer updated this revision to Diff 38122. bkramer added a comment. Add more comments and polish test cases. http://reviews.llvm.org/D13931 Files: include/clang/Tooling/Core/Lookup.h lib/Tooling/Core/CMakeLists.txt lib/Tooling/Core/Lookup.cpp unittests/Tooling/CMakeLists.txt unittes

[clang-tools-extra] r251015 - Don't use "auto" on loops over fundamental types in modernize-loop-convert.

2015-10-22 Thread Angel Garcia Gomez via cfe-commits
Author: angelgarcia Date: Thu Oct 22 08:23:46 2015 New Revision: 251015 URL: http://llvm.org/viewvc/llvm-project?rev=251015&view=rev Log: Don't use "auto" on loops over fundamental types in modernize-loop-convert. Summary: using "auto" on a loop that iterates over ints is kind of an overkill. Us

Re: [PATCH] D13982: Don't use "auto" on loops over fundamental types in modernize-loop-convert.

2015-10-22 Thread Manuel Klimek via cfe-commits
klimek accepted this revision. klimek added a comment. This revision is now accepted and ready to land. lg http://reviews.llvm.org/D13982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm

r251014 - Attempt to fix build bot test failures.

2015-10-22 Thread Gabor Horvath via cfe-commits
Author: xazax Date: Thu Oct 22 08:23:18 2015 New Revision: 251014 URL: http://llvm.org/viewvc/llvm-project?rev=251014&view=rev Log: Attempt to fix build bot test failures. Modified: cfe/trunk/lib/StaticAnalyzer/Core/IssueHash.cpp cfe/trunk/test/Analysis/inlining/path-notes.m Modified: cf

[clang-tools-extra] r251013 - Correctly print the type in modernize-make-unique.

2015-10-22 Thread Angel Garcia Gomez via cfe-commits
Author: angelgarcia Date: Thu Oct 22 08:20:49 2015 New Revision: 251013 URL: http://llvm.org/viewvc/llvm-project?rev=251013&view=rev Log: Correctly print the type in modernize-make-unique. Summary: Take into account the current LangOptions the check has to add back the template argument. Review

Re: [PATCH] D13983: Correctly print the type in modernize-make-unique.

2015-10-22 Thread Manuel Klimek via cfe-commits
klimek accepted this revision. klimek added a comment. This revision is now accepted and ready to land. lg http://reviews.llvm.org/D13983 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm

Re: [PATCH] D12906: [RFC] Bug identification("issue_hash") change for CmpRuns.py

2015-10-22 Thread Daniel Krupp via cfe-commits
dkrupp added a comment. Hi, its a good idea to include in LLVM/Clang i will propose it In http://reviews.llvm.org/D12906#272265, @zaks.anna wrote: > Hi Daniel, > > Have you considered contributing this work to clang/llvm? It's a good idea I will propose this at cfe-dev. Daniel http://revie

[PATCH] D13983: Correctly print the type in modernize-make-unique.

2015-10-22 Thread Angel Garcia via cfe-commits
angelgarcia created this revision. angelgarcia added a reviewer: klimek. angelgarcia added subscribers: cfe-commits, alexfh. Take into account the current LangOptions the check has to add back the template argument. http://reviews.llvm.org/D13983 Files: clang-tidy/modernize/MakeUniqueCheck.cp

Re: [PATCH] D12906: [RFC] Bug identification("issue_hash") change for CmpRuns.py

2015-10-22 Thread Gábor Horváth via cfe-commits
xazax.hun added a comment. In http://reviews.llvm.org/D12906#273088, @honggyu.kim wrote: > In http://reviews.llvm.org/D12906#272257, @dkrupp wrote: > > > Hi Anna & Kim, > > > Hi Daniel, > > > we recognized these scalability issues you just described and that's why we > > created CodeChecker http

Re: [PATCH] D12906: [RFC] Bug identification("issue_hash") change for CmpRuns.py

2015-10-22 Thread Honggyu Kim via cfe-commits
honggyu.kim added a comment. In http://reviews.llvm.org/D12906#272257, @dkrupp wrote: > Hi Anna & Kim, Hi Daniel, > we recognized these scalability issues you just described and that's why we > created CodeChecker https://github.com/Ericsson/codechecker/ > tool. A HTML report viewer for Cla

Re: [PATCH] D12906: [RFC] Bug identification("issue_hash") change for CmpRuns.py

2015-10-22 Thread Honggyu Kim via cfe-commits
honggyu.kim added a comment. Hi Anna, In http://reviews.llvm.org/D12906#272243, @zaks.anna wrote: > I think you misunderstood my comment. I am not talking about using the > existing HTML files here but rather having an HTML viewer, which you could > use to browse source code. This viewer would

Re: [PATCH] D13982: Don't use "auto" on loops over fundamental types in modernize-loop-convert.

2015-10-22 Thread Angel Garcia via cfe-commits
angelgarcia updated this revision to Diff 38119. angelgarcia added a comment. Add a guard to check that ElemType is not null. http://reviews.llvm.org/D13982 Files: clang-tidy/modernize/LoopConvertCheck.cpp clang-tidy/modernize/LoopConvertCheck.h test/clang-tidy/modernize-loop-convert-basi

Re: [PATCH] D13931: [Tooling] Add a utility function to replace one nested name with another.

2015-10-22 Thread Benjamin Kramer via cfe-commits
bkramer updated this revision to Diff 38117. bkramer added a comment. - Removed "fully qualified" in favor of just "qualified" to clarify that the name should be qualified but the leading "::" is not necessary. - Renamed isNameSpecifierGlobal - Removed always true conditional from test http://r

[PATCH] D13982: Don't use "auto" on loops over fundamental types in modernize-loop-convert.

2015-10-22 Thread Angel Garcia via cfe-commits
angelgarcia created this revision. angelgarcia added a reviewer: klimek. angelgarcia added subscribers: cfe-commits, alexfh. using "auto" on a loop that iterates over ints is kind of an overkill. Use the real type name instead. http://reviews.llvm.org/D13982 Files: clang-tidy/modernize/LoopCo

Re: [PATCH] D10305: [Clang Static Analyzer] Bug identification

2015-10-22 Thread Gábor Horváth via cfe-commits
xazax.hun added a comment. In http://reviews.llvm.org/D10305#272013, @honggyu.kim wrote: > Hi Gabor, > > I was away from the office for 3 weeks so I couldn't catch up the issues but > you almost completed the patch now. > Thanks for this work! > > I just found a tiny problem and described it in

Re: [PATCH] D10305: [Clang Static Analyzer] Bug identification

2015-10-22 Thread Gábor Horváth via cfe-commits
xazax.hun closed this revision. xazax.hun added a comment. Committed in r251011. http://reviews.llvm.org/D10305 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] r251010 - Add %check_clang_tidy and %clang_tidy_diff.

2015-10-22 Thread Manuel Klimek via cfe-commits
Author: klimek Date: Thu Oct 22 06:31:44 2015 New Revision: 251010 URL: http://llvm.org/viewvc/llvm-project?rev=251010&view=rev Log: Add %check_clang_tidy and %clang_tidy_diff. With this, site specific lit configs can inject parameters into the test scripts if they need site specific parameters.

r251009 - [AST] Remove redundant template keywords.

2015-10-22 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Thu Oct 22 06:26:35 2015 New Revision: 251009 URL: http://llvm.org/viewvc/llvm-project?rev=251009&view=rev Log: [AST] Remove redundant template keywords. GCC complains about them, clang does not. Modified: cfe/trunk/lib/AST/ASTContext.cpp Modified: cfe/trunk/lib/AST/ASTCon

Re: [PATCH] D13976: [AST] Store Decl* and Stmt* directly into the ParentMap.

2015-10-22 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL251008: [AST] Store Decl* and Stmt* directly into the ParentMap. (authored by d0k). Changed prior to commit: http://reviews.llvm.org/D13976?vs=38105&id=38110#toc Repository: rL LLVM http://reviews.l

r251008 - [AST] Store Decl* and Stmt* directly into the ParentMap.

2015-10-22 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Thu Oct 22 06:21:40 2015 New Revision: 251008 URL: http://llvm.org/viewvc/llvm-project?rev=251008&view=rev Log: [AST] Store Decl* and Stmt* directly into the ParentMap. These are by far the most common types to be parents in the AST so it makes sense to optimize for them. Put th

Re: [PATCH] D13976: [AST] Store Decl* and Stmt* directly into the ParentMap.

2015-10-22 Thread Manuel Klimek via cfe-commits
klimek accepted this revision. klimek added a comment. This revision is now accepted and ready to land. lg Comment at: include/clang/AST/ASTContext.h:463 @@ +462,3 @@ + class DynTypedNodeList { +typedef ast_type_traits::DynTypedNode DynTypedNode; +typedef ArrayRef ARef;

[PATCH] D13978: [X86] Support MCU psABI when marking inregs

2015-10-22 Thread Michael Kuperstein via cfe-commits
mkuper created this revision. mkuper added reviewers: rnk, rafael. mkuper added a subscriber: cfe-commits. mkuper added a dependency: D13977: [X86] Add elfiamcu triple support, and a workaround for PR3997. Herald added a subscriber: aemerson. The MCU psABI has a calling convention that is somewh

[PATCH] D13976: [AST] Store Decl* and Stmt* directly into the ParentMap.

2015-10-22 Thread Benjamin Kramer via cfe-commits
bkramer created this revision. bkramer added reviewers: klimek, djasper. bkramer added a subscriber: cfe-commits. These are by far the most common types to be parents in the AST so it makes sense to optimize for them. Put them directly into the value of the map. This currently saves 32 bytes per p

Re: [PATCH] D13973: CFG: Delay creating Dtors for CompoundStmts which end in ReturnStmt

2015-10-22 Thread Manuel Klimek via cfe-commits
klimek added a subscriber: klimek. klimek added a comment. A test that fails before this patch and passes afterwards is needed :) If you need help writing that test, let me know. http://reviews.llvm.org/D13973 ___ cfe-commits mailing list cfe-commi

[clang-tools-extra] r251005 - Make string constants in the modernize module static.

2015-10-22 Thread Angel Garcia Gomez via cfe-commits
Author: angelgarcia Date: Thu Oct 22 04:48:23 2015 New Revision: 251005 URL: http://llvm.org/viewvc/llvm-project?rev=251005&view=rev Log: Make string constants in the modernize module static. Summary: Add static to global variables, if they are not in an anonymous namespace. Reviewers: klimek

Re: [PATCH] D13975: Make string constants in the modernize module static.

2015-10-22 Thread Manuel Klimek via cfe-commits
klimek accepted this revision. klimek added a comment. This revision is now accepted and ready to land. lg http://reviews.llvm.org/D13975 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm

[PATCH] D13975: Make string constants in the modernize module static.

2015-10-22 Thread Angel Garcia via cfe-commits
angelgarcia created this revision. angelgarcia added a reviewer: klimek. angelgarcia added a subscriber: cfe-commits. Add static to global variables, if they are not in an anonymous namespace. http://reviews.llvm.org/D13975 Files: clang-tidy/modernize/LoopConvertCheck.cpp clang-tidy/moderniz

Re: [PATCH] D10802: [mips] Interrupt attribute support.

2015-10-22 Thread Simon Dardis via cfe-commits
sdardis updated the summary for this revision. sdardis updated this revision to Diff 38102. sdardis marked 3 inline comments as done. sdardis added a comment. Nits addressed and XFAIL tests added for functions having arguments and the interrupt attribute. Test added to cover semantic warnings.

Re: [PATCH] D13959: Fix crash in EmitDeclMetadata mode

2015-10-22 Thread Pavel Labath via cfe-commits
labath resigned from this revision. labath removed a reviewer: labath. labath added a comment. I'll just observe this one. Someone with more knowledge of clang needs to review this. Repository: rL LLVM http://reviews.llvm.org/D13959 ___ cfe-comm

r250997 - [MS ABI] Mangle static anonymous unions

2015-10-22 Thread David Majnemer via cfe-commits
Author: majnemer Date: Thu Oct 22 02:15:56 2015 New Revision: 250997 URL: http://llvm.org/viewvc/llvm-project?rev=250997&view=rev Log: [MS ABI] Mangle static anonymous unions We believed that internal linkage variables at global scope which are not variable template specializations did not have t