| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32.
llvm-svn: 125742
|
| |
|
|
| |
llvm-svn: 125741
|
| |
|
|
| |
llvm-svn: 125740
|
| |
|
|
|
|
|
|
|
|
|
| |
different types. We omit the warning when the enum types are anonymous.
Unlike GCC, this warning does not distinguish between C++ and C/ObjC for
controling whether it is on by default, it is always on by default.
Original patch contributed by Richard Trieu (@ Google), I fixed some
style issues, and cleaned it up for submission.
llvm-svn: 125739
|
| |
|
|
| |
llvm-svn: 125738
|
| |
|
|
|
|
| |
heavyweight machinery and indirection that we don't need
llvm-svn: 125737
|
| |
|
|
| |
llvm-svn: 125736
|
| |
|
|
| |
llvm-svn: 125735
|
| |
|
|
|
|
|
|
|
| |
for some
variations (some of these were already present so I unified the code). Spotted by my
auto-simplifier as occurring a lot.
llvm-svn: 125734
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LabelDecl and LabelStmt. There is a 1-1 correspondence between the
two, but this simplifies a bunch of code by itself. This is because
labels are the only place where we previously had references to random
other statements, causing grief for AST serialization and other stuff.
This does cause one regression (attr(unused) doesn't silence unused
label warnings) which I'll address next.
This does fix some minor bugs:
1. "The only valid attribute " diagnostic was capitalized.
2. Various diagnostics printed as ''labelname'' instead of 'labelname'
3. This reduces duplication of label checking between functions and blocks.
Review appreciated, particularly for the cindex and template bits.
llvm-svn: 125733
|
| |
|
|
| |
llvm-svn: 125731
|
| |
|
|
| |
llvm-svn: 125730
|
| |
|
|
|
|
|
|
|
|
| |
parameter type to see what's behind it, so that we don't end up
printing silly things like "float const *" when "const float *" would
make more sense. Also, replace the pile of "isa" tests with a simple
switch enumerating all of the cases, making a few more obvious cases
use prefix qualifiers.
llvm-svn: 125729
|
| |
|
|
| |
llvm-svn: 125728
|
| |
|
|
| |
llvm-svn: 125727
|
| |
|
|
| |
llvm-svn: 125726
|
| |
|
|
|
|
|
|
|
|
| |
workaround [PR6745] for mingw's tests. Danil Malyshev suggested this.
FIXME: It does not improve MSVC's issue.
[Danil Malyshev] Defining PRINTF_EXPONENT_DIGITS env is the suggested way to make MinGW ANSI/POSIX compatible. This is not only about the case we are discussing, but in general, I'd like to have explicitly defined compatibility mode for all the tests running on MinGW.
llvm-svn: 125725
|
| |
|
|
| |
llvm-svn: 125724
|
| |
|
|
| |
llvm-svn: 125723
|
| |
|
|
| |
llvm-svn: 125722
|
| |
|
|
|
|
| |
Patch thanks to Zach Anderson.
llvm-svn: 125721
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I will not hold on to temporary StringRefs.
I will not hold on to temporary StringRefs.
I will not hold on to temporary StringRefs.
I will not hold on to temporary StringRefs.
I will not hold on to temporary StringRefs.
I will not hold on to temporary StringRefs.
I will not hold on to temporary StringRefs.
I will not hold on to temporary StringRefs.
I will not hold on to temporary StringRefs.
I will not hold on to temporary StringRefs.
llvm-svn: 125718
|
| |
|
|
|
|
|
| |
normal "expression" completion. Fixes the most annoying
code-completion bug I've found.
llvm-svn: 125715
|
| |
|
|
|
|
|
| |
function name used as the base of a member expression. Early feedback from
Chandler Carruth, and code review from Nick Lewycky.
llvm-svn: 125714
|
| |
|
|
|
|
|
|
| |
PR 9231.
Apparently we can blow out the number of builtin IDs on FreeBSD with only 10 bits.
llvm-svn: 125713
|
| |
|
|
|
|
|
|
| |
We now rely on 'clang --analyze' to provide the default set of checkers. We're
still working on the new '-analyzer-checker <checker>' interface, and once
that's ready we'll wire it up to scan-build.
llvm-svn: 125712
|
| |
|
|
| |
llvm-svn: 125711
|
| |
|
|
| |
llvm-svn: 125710
|
| |
|
|
| |
llvm-svn: 125709
|
| |
|
|
|
|
| |
feature.
llvm-svn: 125708
|
| |
|
|
|
|
| |
the only character that GCC escapes. PR9224.
llvm-svn: 125707
|
| |
|
|
| |
llvm-svn: 125706
|
| |
|
|
| |
llvm-svn: 125705
|
| |
|
|
|
|
| |
intended.
llvm-svn: 125704
|
| |
|
|
| |
llvm-svn: 125703
|
| |
|
|
| |
llvm-svn: 125702
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reference Manul:
// if d == 15 then // Can only occur for encoding A1
// ALUWritePC(result); // setflags is always FALSE here
// else
// R[d] = result;
// if setflags then
// APSR.N = result<31>;
// APSR.Z = IsZeroBit(result);
// APSR.C = carry;
// // APSR.V unchanged
into a helper method WriteCoreRegisterWithFlags, and modified the existing methods
to take advantage of it.
Plus add two emulation methods (declaration only for now) for ORR (immediate) and ORR (register).
llvm-svn: 125701
|
| |
|
|
|
|
| |
it swaps the LHS/RHS of a single binop.
llvm-svn: 125700
|
| |
|
|
|
|
| |
a forward class. // rdar://8851803
llvm-svn: 125699
|
| |
|
|
|
|
| |
(KVC) and Key-Value Observing (KVO) protocols.
llvm-svn: 125696
|
| |
|
|
|
|
| |
platforms.
llvm-svn: 125695
|
| |
|
|
| |
llvm-svn: 125694
|
| |
|
|
| |
llvm-svn: 125693
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang_type_t
GetClangFullType(); // Get a completely defined clang type
clang_type_t
GetClangLayoutType(); // Get a clang type that can be used for type layout
clang_type_t
GetClangForwardType(); // A type that can be completed if needed, but is more efficient.
llvm-svn: 125691
|
| |
|
|
|
|
|
| |
byref variables again when passing them to inner blocks.
// rdar://9006279
llvm-svn: 125690
|
| |
|
|
|
|
|
|
|
|
| |
Turns out that they can be funneled through the helper methods
EmulateShiftImm()/ EmulateShiftReg() as well.
Modify EmulateShiftImm() to handle SRType_ROR and SRType_RRX.
And fix a typo in the impl of utility Shift_C() in ARMUtils.h.
llvm-svn: 125689
|
| |
|
|
| |
llvm-svn: 125688
|
| |
|
|
|
|
| |
by kremenek.
llvm-svn: 125687
|
| |
|
|
| |
llvm-svn: 125686
|
| |
|
|
| |
llvm-svn: 125684
|