r307483 - Fix build failure with gcc about mixing enum and non-enum

2017-07-08 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Sat Jul 8 12:13:41 2017 New Revision: 307483 URL: http://llvm.org/viewvc/llvm-project?rev=307483&view=rev Log: Fix build failure with gcc about mixing enum and non-enum Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp cfe/trunk/lib/CodeGen/TargetInfo.cpp Modified:

[libcxxabi] r307482 - [Demangler] NFC: Don't make the parse_* functions templates

2017-07-08 Thread Erik Pilkington via cfe-commits
Author: epilk Date: Sat Jul 8 11:54:08 2017 New Revision: 307482 URL: http://llvm.org/viewvc/llvm-project?rev=307482&view=rev Log: [Demangler] NFC: Don't make the parse_* functions templates Differential revision: https://reviews.llvm.org/D35158 Modified: libcxxabi/trunk/src/cxa_demangle.cp

[libcxxabi] r307481 - [Demangler] NFC: Move Db struct to beginning of file

2017-07-08 Thread Erik Pilkington via cfe-commits
Author: epilk Date: Sat Jul 8 11:54:07 2017 New Revision: 307481 URL: http://llvm.org/viewvc/llvm-project?rev=307481&view=rev Log: [Demangler] NFC: Move Db struct to beginning of file Differential revision: https://reviews.llvm.org/D35158 Modified: libcxxabi/trunk/src/cxa_demangle.cpp Modi

Re: [clang-tools-extra] r304583 - [clang-tidy] Add `const` to operator() to fix a warning.

2017-07-08 Thread Kim Gräsman via cfe-commits
This is even an error in VS2017, I've just fixed a number of instances of this in an internal codebase. - Kim Den 6 juni 2017 4:32 em skrev "Alexander Kornienko via cfe-commits" < cfe-commits@lists.llvm.org>: > On Mon, Jun 5, 2017 at 7:11 PM, David Blaikie wrote: > >> what was the warning? >> >

r307479 - [Bash-autocompletion] Auto complete cc1 options if -cc1 is specified

2017-07-08 Thread Yuka Takahashi via cfe-commits
Author: yamaguchi Date: Sat Jul 8 10:48:59 2017 New Revision: 307479 URL: http://llvm.org/viewvc/llvm-project?rev=307479&view=rev Log: [Bash-autocompletion] Auto complete cc1 options if -cc1 is specified Summary: We don't want to autocomplete flags whose Flags class has `NoDriverOption` when ar

r307478 - [Bash-autocompletion] Fix a bug that -foo=bar doesn't handled properly

2017-07-08 Thread Yuka Takahashi via cfe-commits
Author: yamaguchi Date: Sat Jul 8 10:34:02 2017 New Revision: 307478 URL: http://llvm.org/viewvc/llvm-project?rev=307478&view=rev Log: [Bash-autocompletion] Fix a bug that -foo=bar doesn't handled properly Summary: Fixed a bug that -foo=bar wasn't handled properly on old version of bash. Diffe

r307472 - [CodeGen] Fold variable into assert.

2017-07-08 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Sat Jul 8 07:14:57 2017 New Revision: 307472 URL: http://llvm.org/viewvc/llvm-project?rev=307472&view=rev Log: [CodeGen] Fold variable into assert. Avoids warnings in Release builds. Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp Modified: cfe/trunk/lib/CodeGen/CodeGen

r307470 - CodeGen: Fix address space of global variable

2017-07-08 Thread Yaxun Liu via cfe-commits
Author: yaxunl Date: Sat Jul 8 06:24:52 2017 New Revision: 307470 URL: http://llvm.org/viewvc/llvm-project?rev=307470&view=rev Log: CodeGen: Fix address space of global variable Certain targets (e.g. amdgcn) require global variable to stay in global or constant address space. In C or C++ global

r307468 - [analyzer] Fix a path in the developer manual

2017-07-08 Thread Gabor Horvath via cfe-commits
Author: xazax Date: Sat Jul 8 01:23:52 2017 New Revision: 307468 URL: http://llvm.org/viewvc/llvm-project?rev=307468&view=rev Log: [analyzer] Fix a path in the developer manual Patch by: Reka Nikolett Kovacs Modified: cfe/trunk/www/analyzer/checker_dev_manual.html Modified: cfe/trunk/www/a