r261467 - Added SKL and CNL processors and features to Clang

2016-02-20 Thread Elena Demikhovsky via cfe-commits
Author: delena Date: Sun Feb 21 01:41:23 2016 New Revision: 261467 URL: http://llvm.org/viewvc/llvm-project?rev=261467&view=rev Log: Added SKL and CNL processors and features to Clang Differential Revision: http://reviews.llvm.org/D16756 Modified: cfe/trunk/lib/Basic/Targets.cpp cfe/tru

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread Richard Smith via cfe-commits
On 20 Feb 2016 10:01 p.m., "H.J. Lu" wrote: > > On Sat, Feb 20, 2016 at 9:47 PM, Richard Smith wrote: > > On 20 Feb 2016 6:54 p.m., "H.J. Lu" wrote: > >> > >> On Sat, Feb 20, 2016 at 4:57 PM, Matthijs van Duin > >> wrote: > >> > On 20 February 2016 at 23:35, H.J. Lu wrote: > >> >> Can a compil

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread H.J. Lu via cfe-commits
On Sat, Feb 20, 2016 at 9:47 PM, Richard Smith wrote: > On 20 Feb 2016 6:54 p.m., "H.J. Lu" wrote: >> >> On Sat, Feb 20, 2016 at 4:57 PM, Matthijs van Duin >> wrote: >> > On 20 February 2016 at 23:35, H.J. Lu wrote: >> >> Can a compiler tell if a copy constructor or destructor is trivial >> >>

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread Richard Smith via cfe-commits
On 20 Feb 2016 6:54 p.m., "H.J. Lu" wrote: > > On Sat, Feb 20, 2016 at 4:57 PM, Matthijs van Duin > wrote: > > On 20 February 2016 at 23:35, H.J. Lu wrote: > >> Can a compiler tell if a copy constructor or destructor is trivial > >> from the class declaration without function body? > > > > Yes,

r261466 - Class Property: Fix a crash with old ABI when generating metadata in classes.

2016-02-20 Thread Manman Ren via cfe-commits
Author: mren Date: Sat Feb 20 23:31:05 2016 New Revision: 261466 URL: http://llvm.org/viewvc/llvm-project?rev=261466&view=rev Log: Class Property: Fix a crash with old ABI when generating metadata in classes. rdar://23891898 Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp cfe/trunk/test/Co

[PATCH] D17488: Extend UnnecessaryCopyInitialization check to trigger on non-const copies that can be safely converted to const references.

2016-02-20 Thread Felix Berger via cfe-commits
flx created this revision. flx added a reviewer: alexfh. flx added a subscriber: cfe-commits. flx set the repository for this revision to rL LLVM. Move code shared between UnnecessaryCopyInitialization and ForRangeCopyCheck into utilities files. Add more test cases for UnnecessaryCopyInitializati

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread H.J. Lu via cfe-commits
On Sat, Feb 20, 2016 at 4:57 PM, Matthijs van Duin wrote: > On 20 February 2016 at 23:35, H.J. Lu wrote: >> Can a compiler tell if a copy constructor or destructor is trivial >> from the class declaration without function body? > > Yes, the mere presence of the declaration suffices to render it >

Re: [PATCH] D16928: [OpenCL] Apply missing restrictions for Blocks in OpenCL v2.0

2016-02-20 Thread Xiuli PAN via cfe-commits
pxli168 accepted this revision. pxli168 added a comment. This revision is now accepted and ready to land. LGTM! Thanks http://reviews.llvm.org/D16928 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listi

Re: [PATCH] D16928: [OpenCL] Apply missing restrictions for Blocks in OpenCL v2.0

2016-02-20 Thread Xiuli PAN via cfe-commits
pxli168 added a comment. LGTM! Thanks. http://reviews.llvm.org/D16928 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D17484: [clang-tidy] introduce modernize-deprecated-headers check

2016-02-20 Thread Eugene Zelenko via cfe-commits
Eugene.Zelenko added a comment. Another idea: to replace limits.h with limits and also replace its defines with their C++ counterparts. For example, INT_MIN with numeric_limits::min(). Will be definitely useful for LLDB code modernization. http://reviews.llvm.org/D17484

Re: [PATCH] D17091: [analyzer][scan-build-py] Non-existing directory for scan-build output.

2016-02-20 Thread Laszlo Nagy via cfe-commits
rizsotto.mailinglist added a comment. the semicolon at the end of line 39 is an issue for PEP8. please remove it. http://reviews.llvm.org/D17091 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/c

Re: [PATCH] D17091: [analyzer][scan-build-py] Non-existing directory for scan-build output.

2016-02-20 Thread Laszlo Nagy via cfe-commits
rizsotto.mailinglist accepted this revision. rizsotto.mailinglist added a comment. This revision is now accepted and ready to land. thanks Anton, LGTM! http://reviews.llvm.org/D17091 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lis

Re: [PATCH] D17484: [clang-tidy] introduce modernize-deprecated-headers check

2016-02-20 Thread Richard via cfe-commits
LegalizeAdulthood added a comment. Other than a few nits, LGTM. Comment at: clang-tidy/modernize/DeprecatedHeadersCheck.cpp:54 @@ +53,3 @@ +: Check(Check), LangOpts(LangOpts) { + CStyledHeaderToCxx["assert.h"] = "cassert"; + CStyledHeaderToCxx["float.h"] = "cfloat"; --

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread Marc Glisse via cfe-commits
On Sat, 20 Feb 2016, H.J. Lu wrote: On Fri, Feb 19, 2016 at 1:07 PM, Richard Smith wrote: On Fri, Feb 19, 2016 at 5:35 AM, Michael Matz wrote: Hi, On Thu, 18 Feb 2016, Richard Smith wrote: An empty type is a type where it and all of its subobjects (recursively) are of class, structure, un

Re: r260872 - Add isAnyPointer() matchers. Register missing matchers.

2016-02-20 Thread Aaron Ballman via cfe-commits
On Sat, Feb 20, 2016 at 7:48 PM, Felix Berger wrote: > > > On Mon, Feb 15, 2016 at 8:05 AM, Aaron Ballman > wrote: >> >> On Sun, Feb 14, 2016 at 11:00 PM, Felix Berger via cfe-commits >> wrote: >> > Author: flx >> > Date: Sun Feb 14 22:00:39 2016 >> > New Revision: 260872 >> > >> > URL: http://l

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread Matthijs van Duin via cfe-commits
On 20 February 2016 at 23:35, H.J. Lu wrote: > Can a compiler tell if a copy constructor or destructor is trivial > from the class declaration without function body? Yes, the mere presence of the declaration suffices to render it non-trivial (unless explicitly declared "= default" like I did with

Re: r260872 - Add isAnyPointer() matchers. Register missing matchers.

2016-02-20 Thread Felix Berger via cfe-commits
On Mon, Feb 15, 2016 at 8:05 AM, Aaron Ballman wrote: > On Sun, Feb 14, 2016 at 11:00 PM, Felix Berger via cfe-commits > wrote: > > Author: flx > > Date: Sun Feb 14 22:00:39 2016 > > New Revision: 260872 > > > > URL: http://llvm.org/viewvc/llvm-project?rev=260872&view=rev > > Log: > > Add isAnyP

r261461 - Lex: Never overflow the file in HeaderMap::lookupFilename()

2016-02-20 Thread Duncan P. N. Exon Smith via cfe-commits
Author: dexonsmith Date: Sat Feb 20 18:14:36 2016 New Revision: 261461 URL: http://llvm.org/viewvc/llvm-project?rev=261461&view=rev Log: Lex: Never overflow the file in HeaderMap::lookupFilename() If a header map file is corrupt, the strings in the string table may not be null-terminated. The lo

r261459 - Lex: Change HeaderMapImpl::getString() to return StringRef, NFC

2016-02-20 Thread Duncan P. N. Exon Smith via cfe-commits
Author: dexonsmith Date: Sat Feb 20 17:12:51 2016 New Revision: 261459 URL: http://llvm.org/viewvc/llvm-project?rev=261459&view=rev Log: Lex: Change HeaderMapImpl::getString() to return StringRef, NFC Modified: cfe/trunk/include/clang/Lex/HeaderMap.h cfe/trunk/lib/Lex/HeaderMap.cpp Modif

r261456 - Lex: Use dbgs() instead of fprintf() in HeaderMap::dump()

2016-02-20 Thread Duncan P. N. Exon Smith via cfe-commits
Author: dexonsmith Date: Sat Feb 20 17:09:14 2016 New Revision: 261456 URL: http://llvm.org/viewvc/llvm-project?rev=261456&view=rev Log: Lex: Use dbgs() instead of fprintf() in HeaderMap::dump() This way it's easy to change HeaderMapImpl::getString() to return a StringRef. There's a slight chang

r261455 - Lex: Add a test for HeaderMap::lookupFileName()

2016-02-20 Thread Duncan P. N. Exon Smith via cfe-commits
Author: dexonsmith Date: Sat Feb 20 16:53:22 2016 New Revision: 261455 URL: http://llvm.org/viewvc/llvm-project?rev=261455&view=rev Log: Lex: Add a test for HeaderMap::lookupFileName() Add a simple test for `HeaderMap::lookupFileName()`. I'm planning to add better error checking in a moment, and

Re: [PATCH] D17362: [Sema] PR23090 Crash when return type or parameter types for extern "C" functions don't have external linkage

2016-02-20 Thread don hinton via cfe-commits
hintonda updated this revision to Diff 48601. hintonda added a comment. Fixed additional tests. http://reviews.llvm.org/D17362 Files: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaDecl.cpp test/CXX/drs/dr3xx.cpp test/Sema/pr23090-crash-on-invalid.cpp test/SemaCXX/warn-unused

Re: [PATCH] D17484: [clang-tidy] introduce modernize-deprecated-headers check

2016-02-20 Thread Kirill Bobyrev via cfe-commits
omtcyf0 updated this revision to Diff 48600. omtcyf0 added a comment. Thanks for a review, Eugene! The FixItHint and warning now comes with the "angled" version of header wrapping. http://reviews.llvm.org/D17484 Files: clang-tidy/modernize/CMakeLists.txt clang-tidy/modernize/DeprecatedHea

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread H.J. Lu via cfe-commits
On Sat, Feb 20, 2016 at 11:40 AM, Matthijs van Duin wrote: > On 20 February 2016 at 20:34, H.J. Lu wrote: >> Is there a class, which meets the above definition, with a member function >> which can't be passed without a memory slot or a register? > > The EmptyInt class in my first post in this th

Re: [PATCH] D17362: [Sema] PR23090 Crash when return type or parameter types for extern "C" functions don't have external linkage

2016-02-20 Thread don hinton via cfe-commits
hintonda added a comment. This change breaks a couple tests in test/SemaCXX/linkage.cpp where we no longer allow mixing internal and external linkage, i.e., extern "C" functions have external linkage no matter where they are declared, but return types and parameters declared in anonymous namesp

Re: [PATCH] D17484: [clang-tidy] introduce modernize-deprecated-headers check

2016-02-20 Thread Eugene Zelenko via cfe-commits
Eugene.Zelenko added a comment. Thank you for implementing this check! However, I think will be good idea to always wrap header name in <> for warning and FixIt. http://reviews.llvm.org/D17484 ___ cfe-commits mailing list cfe-commits@lists.llvm.or

r261449 - Lex: Check whether the header map buffer has space for the buckets

2016-02-20 Thread Duncan P. N. Exon Smith via cfe-commits
Author: dexonsmith Date: Sat Feb 20 15:24:31 2016 New Revision: 261449 URL: http://llvm.org/viewvc/llvm-project?rev=261449&view=rev Log: Lex: Check whether the header map buffer has space for the buckets Check up front whether the header map buffer has space for all of its declared buckets. Ther

Re: r259975 - Fix a crash when emitting dbeug info for forward-declared scoped enums.

2016-02-20 Thread Adrian Prantl via cfe-commits
This had me puzzled for a second, but then I figured out what happened :-) The “crash” I quoted in the commit message really was an assertion failure, to be precise, the very assertion I relaxed in LLVM r259973 in order to be able to defer the building of the DeclContext implemented by this commi

r261448 - Lex: Check buckets on header map construction

2016-02-20 Thread Duncan P. N. Exon Smith via cfe-commits
Author: dexonsmith Date: Sat Feb 20 15:00:58 2016 New Revision: 261448 URL: http://llvm.org/viewvc/llvm-project?rev=261448&view=rev Log: Lex: Check buckets on header map construction If the number of buckets is not a power of two, immediately recognize the header map as corrupt, rather than waiti

r261446 - Lex: Add some unit tests for corrupt header maps

2016-02-20 Thread Duncan P. N. Exon Smith via cfe-commits
Author: dexonsmith Date: Sat Feb 20 14:39:51 2016 New Revision: 261446 URL: http://llvm.org/viewvc/llvm-project?rev=261446&view=rev Log: Lex: Add some unit tests for corrupt header maps Split the implementation of `HeaderMap` into `HeaderMapImpl` so that we can write unit tests that don't depend

r261445 - [c-index-test] CMake: When installing c-index-test to a different prefix directory, add an rpath so that

2016-02-20 Thread Argyrios Kyrtzidis via cfe-commits
Author: akirtzidis Date: Sat Feb 20 14:34:55 2016 New Revision: 261445 URL: http://llvm.org/viewvc/llvm-project?rev=261445&view=rev Log: [c-index-test] CMake: When installing c-index-test to a different prefix directory, add an rpath so that it can find libclang. Modified: cfe/trunk/tools/c-

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread Matthijs van Duin via cfe-commits
On 20 February 2016 at 20:34, H.J. Lu wrote: > Is there a class, which meets the above definition, with a member function > which can't be passed without a memory slot or a register? The EmptyInt class in my first post in this thread. It has no non-static data members, has standard layout, and h

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread H.J. Lu via cfe-commits
On Sat, Feb 20, 2016 at 10:50 AM, Matthijs van Duin wrote: > On 20 February 2016 at 18:55, H.J. Lu wrote: >> struct dummy0 >> { >> }; >> >> struct dummy >> { >> dummy0 d[20]; >> >> dummy0 * foo (int i); >> }; >> >> dummy0 * >> dummy::foo (int i) >> { >> return &d[i]; >> } >> >> dummy0 * >>

Re: [PATCH] D17484: [clang-tidy] introduce modernize-deprecated-headers check

2016-02-20 Thread Kirill Bobyrev via cfe-commits
omtcyf0 updated this revision to Diff 48598. omtcyf0 added a comment. fixed clang-tidy/modernize/DeprecatedHeaders.h head typo caused by the check rename http://reviews.llvm.org/D17484 Files: clang-tidy/modernize/CMakeLists.txt clang-tidy/modernize/DeprecatedHeadersCheck.cpp clang-tidy/m

[PATCH] D17484: [clang-tidy] introduce modernize-deprecated-headers check

2016-02-20 Thread Kirill Bobyrev via cfe-commits
omtcyf0 created this revision. omtcyf0 added reviewers: alexfh, LegalizeAdulthood, Eugene.Zelenko. omtcyf0 added a subscriber: cfe-commits. This patch introduces the modernize-deprecated-headers check, which is supposed to replace deprecated C library headers with the C++ STL-ones. For informati

Re: [PATCH] D17026: Changed ASTImporter DiagnosticsEngine from FromDiag to ToDiag for unsupported ASTNodes Import.

2016-02-20 Thread Argyrios Kyrtzidis via cfe-commits
akyrtzi added a comment. Could you check if you can decouple VerifyDiagnosticConsumer from depending on a particular DiagnosticsEngine ? http://reviews.llvm.org/D17026 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cg

Re: [PATCH] D17026: Changed ASTImporter DiagnosticsEngine from FromDiag to ToDiag for unsupported ASTNodes Import.

2016-02-20 Thread Argyrios Kyrtzidis via cfe-commits
akyrtzi added a comment. I'm not sure removing all the Importer.FromDiag() calls is the right thing. You are changing Importer.FromDiag(D->getLocation(), diag::err_unsupported_ast_node) to Importer.ToDiag(SourceLocation(), diag::err_unsupported_ast_node) and you lose the source location infor

r261443 - Lex: clang-format HeaderMap.h, NFC

2016-02-20 Thread Duncan P. N. Exon Smith via cfe-commits
Author: dexonsmith Date: Sat Feb 20 12:55:08 2016 New Revision: 261443 URL: http://llvm.org/viewvc/llvm-project?rev=261443&view=rev Log: Lex: clang-format HeaderMap.h, NFC Modified: cfe/trunk/include/clang/Lex/HeaderMap.h Modified: cfe/trunk/include/clang/Lex/HeaderMap.h URL: http://llvm.or

r261442 - Lex: Remove explicitly deleted copy constructor, NFC

2016-02-20 Thread Duncan P. N. Exon Smith via cfe-commits
Author: dexonsmith Date: Sat Feb 20 12:53:45 2016 New Revision: 261442 URL: http://llvm.org/viewvc/llvm-project?rev=261442&view=rev Log: Lex: Remove explicitly deleted copy constructor, NFC `std::unique_ptr` already deletes these, so there's no reason for the boiler-plate in HeaderMap. Modified:

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread Matthijs van Duin via cfe-commits
On 20 February 2016 at 18:55, H.J. Lu wrote: > struct dummy0 > { > }; > > struct dummy > { > dummy0 d[20]; > > dummy0 * foo (int i); > }; > > dummy0 * > dummy::foo (int i) > { > return &d[i]; > } > > dummy0 * > bar (dummy d, int i) > { > return d.foo (i); > } 1. This has undefined behavio

Re: RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

2016-02-20 Thread H.J. Lu via cfe-commits
On Fri, Feb 19, 2016 at 1:07 PM, Richard Smith wrote: > On Fri, Feb 19, 2016 at 5:35 AM, Michael Matz wrote: >> Hi, >> >> On Thu, 18 Feb 2016, Richard Smith wrote: >> >>> >> An empty type is a type where it and all of its subobjects >>> >> (recursively) are of class, structure, union, or array ty

Re: [PATCH] D17019: [OpenMP] Code generation for teams - kernel launching

2016-02-20 Thread Samuel Antao via cfe-commits
sfantao added inline comments. Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:3799-3806 @@ -3780,4 +3798,10 @@ OffloadEntriesInfoManager.registerTargetRegionEntryInfo( DeviceID, FileID, ParentName, Line, OutlinedFn, OutlinedFnID); } +/// \brief Emit the num_teams clause

[PATCH] D17482: [clang-tidy] Allow tests to verify changes made to header files

2016-02-20 Thread Richard via cfe-commits
LegalizeAdulthood created this revision. LegalizeAdulthood added a reviewer: alexfh. LegalizeAdulthood added a subscriber: cfe-commits. This changeset improves check_clang_tidy.py to allow chnages made by a check to a header to be verified. A new argument `--header-filter` allows the test file t

Re: [PATCH] D17026: Changed ASTImporter DiagnosticsEngine from FromDiag to ToDiag for unsupported ASTNodes Import.

2016-02-20 Thread Elisavet Sakellari via cfe-commits
esakella added a comment. In http://reviews.llvm.org/D17026#356418, @akyrtzi wrote: > Doesn't this mean that _all_ of the Importer.FromDiag() calls will be ignored > by VerifyDiagnosticConsumer ? Why specifically change only this two and what > are we going to do with the others ? > This seems

Re: [PATCH] D17029: [AST] Implemented missing import for the Template type parameter and Injected Class Name in ASTImporter class.

2016-02-20 Thread Elisavet Sakellari via cfe-commits
esakella added a comment. In http://reviews.llvm.org/D17029#356428, @akyrtzi wrote: > If I apply just the test changes without the rest of the changes, I don't see > any failures, so I'm not sure these are effective tests. This happens because also one of the changes is the new line 4304 which

Re: r261297 - Implement the likely resolution of core issue 253.

2016-02-20 Thread Nico Weber via cfe-commits
On Fri, Feb 19, 2016 at 10:32 PM, Nico Weber wrote: > On Fri, Feb 19, 2016 at 10:02 PM, Nico Weber wrote: > >> On Fri, Feb 19, 2016 at 8:01 PM, Richard Smith >> wrote: >> >>> On Fri, Feb 19, 2016 at 4:41 PM, Nico Weber wrote: >>> > On Fri, Feb 19, 2016 at 4:29 PM, Richard Smith via cfe-commits

Re: r261422 - Fix handling of vaargs on PPC32 when going from regsave to overflow.

2016-02-20 Thread Hal Finkel via cfe-commits
- Original Message - > From: "Dimitry Andric via cfe-commits" > To: "Hans Wennborg" > Cc: "Roman Divacky" , "cfe-commits" > > Sent: Saturday, February 20, 2016 8:24:36 AM > Subject: Re: r261422 - Fix handling of vaargs on PPC32 when going from > regsave to overflow. > > On 20 Feb 20

Re: r261422 - Fix handling of vaargs on PPC32 when going from regsave to overflow.

2016-02-20 Thread Dimitry Andric via cfe-commits
On 20 Feb 2016, at 09:31, Roman Divacky via cfe-commits wrote: > > Author: rdivacky > Date: Sat Feb 20 02:31:24 2016 > New Revision: 261422 > > URL: http://llvm.org/viewvc/llvm-project?rev=261422&view=rev > Log: > Fix handling of vaargs on PPC32 when going from regsave to overflow. > > It can

Re: [PATCH] D17452: [CMake] Add partial support for MSVC in compiler-rt builtins

2016-02-20 Thread Andrey Turetskiy via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL261432: [CMake] Add partial support for MSVC in compiler-rt builtins, by Roman Shirokiy. (authored by aturetsk). Changed prior to commit: http://reviews.llvm.org/D17452?vs=48489&id=48593#toc Repository

Re: [PATCH] D17444: PR26672: [MSVC] Clang does not recognize "static_assert" keyword in C mode

2016-02-20 Thread Andrey Bokhanko via cfe-commits
andreybokhanko updated this revision to Diff 48591. andreybokhanko added a comment. Patch updated in response to Reid's proposal (to introduce KEYMSCOMPAT). (To clarify, I agree with Aaron that we should wait for MS' response first. Though I frankly don't expect them to accept recognition of "st

[clang-tools-extra] r261431 - [clang-tidy] Describe modules, link to LLVM development docs, other minor updates

2016-02-20 Thread Alexander Kornienko via cfe-commits
Author: alexfh Date: Sat Feb 20 05:42:13 2016 New Revision: 261431 URL: http://llvm.org/viewvc/llvm-project?rev=261431&view=rev Log: [clang-tidy] Describe modules, link to LLVM development docs, other minor updates Modified: clang-tools-extra/trunk/docs/clang-tidy/index.rst Modified: clang-

r261424 - [MSVC Compat] Add support for /GX, /GX-

2016-02-20 Thread David Majnemer via cfe-commits
Author: majnemer Date: Sat Feb 20 03:23:44 2016 New Revision: 261424 URL: http://llvm.org/viewvc/llvm-project?rev=261424&view=rev Log: [MSVC Compat] Add support for /GX, /GX- These are legacy flags which map to /EHsc and /EHs-c- respectively. Modified: cfe/trunk/include/clang/Driver/CLCompat

r261425 - [MSVC Compat] Implement -EHc semantics

2016-02-20 Thread David Majnemer via cfe-commits
Author: majnemer Date: Sat Feb 20 03:23:47 2016 New Revision: 261425 URL: http://llvm.org/viewvc/llvm-project?rev=261425&view=rev Log: [MSVC Compat] Implement -EHc semantics The -EHc flag implicitly adds a nothrow attribute to any extern "C" function when exceptions are enabled. Modified: cf

r261423 - Remove -fnew-ms-eh

2016-02-20 Thread David Majnemer via cfe-commits
Author: majnemer Date: Sat Feb 20 03:23:41 2016 New Revision: 261423 URL: http://llvm.org/viewvc/llvm-project?rev=261423&view=rev Log: Remove -fnew-ms-eh This flag no longer controls any behavior inside of clang. Modified: cfe/trunk/include/clang/Driver/CC1Options.td cfe/trunk/test/CodeG

Re: [PATCH] D15636: Reduce false positives in printf/scanf format checker

2016-02-20 Thread Richard Trieu via cfe-commits
rtrieu added a comment. In http://reviews.llvm.org/D15636#352532, @AndyG wrote: > Richard, are you happy with this latest version? Can I proceed to commit it? > > Thanks. No, this is not ready yet. This code is old and needs a bit of clean up, and because your patch touches it, you will be o

r261422 - Fix handling of vaargs on PPC32 when going from regsave to overflow.

2016-02-20 Thread Roman Divacky via cfe-commits
Author: rdivacky Date: Sat Feb 20 02:31:24 2016 New Revision: 261422 URL: http://llvm.org/viewvc/llvm-project?rev=261422&view=rev Log: Fix handling of vaargs on PPC32 when going from regsave to overflow. It can happen that when we only have 1 more register left in the regsave area we need to stor

[libcxx] r261421 - Rename <__hash_table> traits so they don't conflict with similar traits.

2016-02-20 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Feb 20 01:59:16 2016 New Revision: 261421 URL: http://llvm.org/viewvc/llvm-project?rev=261421&view=rev Log: Rename <__hash_table> traits so they don't conflict with similar traits. In particular <__tree> defines many of the same types of traits classes. Modified: lib