Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/clang-lm32
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0a7d3c2ecbbe
Choose a base ref
...
head repository: m-labs/clang-lm32
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 01a9a76ff0b6
Choose a head ref

Commits on Nov 22, 2012

  1. Make helpers static/anonymous.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168500 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Nov 22, 2012
    Copy the full SHA
    4d9f4e5 View commit details

Commits on Nov 23, 2012

  1. Reapply a subset of r167567 to clean up Darwin-specific code for invo…

    …king gcc.
    
    Unlike my previous attempt at this, this patch leaves intact the check for
    whether clang can handle the input file type, and for non-Darwin toolchains it
    will invoke gcc for things it cannot handle. For Darwin toolchains, the
    behavior reported in pr14338 still occurs with this patch, but that is a
    definite improvement from what happens currently, where it just crashes with
    an assertion failure.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168505 91177308-0d34-0410-b5e6-96231b3b80d8
    bob-wilson committed Nov 23, 2012
    Copy the full SHA
    66b8a66 View commit details
  2. PR14306: Move -fbounds-checking to -fsanitize=bounds.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168510 91177308-0d34-0410-b5e6-96231b3b80d8
    jgouly committed Nov 23, 2012
    Copy the full SHA
    8548908 View commit details
  3. Check that we don't warn on this testcase. This is basically a test that

    Decl::isUsed checks the attribute. If the function had a body just the check
    is DeclMustBeEmitted would be sufficient.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168514 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Nov 23, 2012
    Copy the full SHA
    4875bf2 View commit details
  4. Remove redundant check.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168515 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Nov 23, 2012
    Copy the full SHA
    385e1d9 View commit details
  5. Merge used flags so that we don't have to iterate on isUsed. With thi…

    …s change
    
    "clang -cc1 -fsyntax-only" on the preprocessed output of
    
    #define M extern int a;
    #define M2 M M
    #define M4 M2 M2
    #define M8 M4 M4
    #define M16 M8 M8
    #define M32 M16 M16
    #define M64 M32 M32
    #define M128 M64 M64
    #define M256 M128 M128
    #define M512 M256 M256
    #define M1024 M512 M512
    #define M2048 M1024 M1024
    #define M4096 M2048 M2048
    #define M8192 M4096 M4096
    #define M16384 M8192 M8192
    M16384
    
    goes from 2.994s to 1.416s. GCC is at 0.022s, so we still have a long way to go.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168519 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Nov 23, 2012
    Copy the full SHA
    919b7e6 View commit details
  6. Sema: Provide a valid source location when instantiating templates ba…

    …sed on a CXXDefaultArgExpr.
    
    Fixes PR13758.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168521 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Nov 23, 2012
    Copy the full SHA
    63b6ebe View commit details

Commits on Nov 24, 2012

  1. Make err_module_expected_semi consistent with all the other expected_…

    …semi diags.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168535 91177308-0d34-0410-b5e6-96231b3b80d8
    nico committed Nov 24, 2012
    Copy the full SHA
    f9cb0be View commit details
  2. Revert r168519, "Merge used flags so that we don't have to iterate on…

    … isUsed. With this change"
    
    It brought bunch of (possibly false) warnings.
    
    llvm/unittests/VMCore/PassManagerTest.cpp:60:22: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration]
        char ModuleNDNM::ID=0;
                         ^
    llvm/unittests/VMCore/PassManagerTest.cpp:86:22: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration]
        char ModuleNDM2::ID=0;
                         ^
    llvm/unittests/VMCore/PassManagerTest.cpp:106:21: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration]
        char ModuleDNM::ID=0;
                        ^
    llvm/unittests/VMCore/PassManagerTest.cpp:217:16: warning: variable 'initcount' is not needed and will not be emitted [-Wunneeded-internal-declaration]
        int LPass::initcount=0;
                   ^
    llvm/unittests/VMCore/PassManagerTest.cpp:218:16: warning: variable 'fincount' is not needed and will not be emitted [-Wunneeded-internal-declaration]
        int LPass::fincount=0;
                   ^
    llvm/unittests/VMCore/PassManagerTest.cpp:259:16: warning: variable 'inited' is not needed and will not be emitted [-Wunneeded-internal-declaration]
        int BPass::inited=0;
                   ^
    llvm/unittests/VMCore/PassManagerTest.cpp:260:16: warning: variable 'fin' is not needed and will not be emitted [-Wunneeded-internal-declaration]
        int BPass::fin=0;
                   ^
    llvm/unittests/VMCore/PassManagerTest.cpp:283:24: warning: variable 'ID' is not needed and will not be emitted [-Wunneeded-internal-declaration]
        char OnTheFlyTest::ID=0;
                           ^
    8 warnings generated.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168549 91177308-0d34-0410-b5e6-96231b3b80d8
    chapuni committed Nov 24, 2012
    Copy the full SHA
    6df81a9 View commit details

Commits on Nov 25, 2012

  1. Fix test case for linking with sanitizer opts added in r168428.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168562 91177308-0d34-0410-b5e6-96231b3b80d8
    Alexey Samsonov committed Nov 25, 2012
    Copy the full SHA
    1059653 View commit details
  2. Add a basic testcase for the "variable is not needed" warning and one…

    … that
    
    regressed in r168519.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168563 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Nov 25, 2012
    Copy the full SHA
    1c80b52 View commit details
  3. Add r168519 back, but with a fix to also merge the used flag in varia…

    …bles.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168564 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Nov 25, 2012
    Copy the full SHA
    8dbf697 View commit details

Commits on Nov 26, 2012

  1. PR14428: When instantiating a 'new' expression, if we had a non-depen…

    …dent
    
    initialization, don't rebuild it. Remove a couple of hacks which were trying to
    work around this. Fix the special case for one-argument CXXConstructExprs to
    not apply if the one argument is a default argument.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168582 91177308-0d34-0410-b5e6-96231b3b80d8
    zygoloid committed Nov 26, 2012
    Copy the full SHA
    73ed67c View commit details
  2. Fix PR14413 - incorrect mangling of anonymous namespaces with -cxx-ab…

    …i microsoft
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168583 91177308-0d34-0410-b5e6-96231b3b80d8
    timurrrr committed Nov 26, 2012
    Copy the full SHA
    79b7cc5 View commit details
  3. MSPGCC renamed ISR vectors from vector_<address> to __isr_<number>. T…

    …his patch makes Clang reflect this scheme.
    
    Patch by Job Noorman!
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168598 91177308-0d34-0410-b5e6-96231b3b80d8
    asl committed Nov 26, 2012
    Copy the full SHA
    f419a85 View commit details
  4. [analyzer] Fix a crash reported in PR 14400.

    The AllocaRegion did not have the superRegion (based on LocationContext)
    as part of it's hash. As a consequence, the AllocaRegions from
    different frames were uniqued to be the same region.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168599 91177308-0d34-0410-b5e6-96231b3b80d8
    AnnaZaks committed Nov 26, 2012
    Copy the full SHA
    dac6cd5 View commit details
  5. [analyzer] SATestBuild.py: allow make builds to disable parallelization

    Before, SATestBuild unilaterally added '-j<n>' to every project built with
    'make'. Now, we check and see if there's a -j option already specified, which
    allows a project to explicitly be marked '-j1'.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168603 91177308-0d34-0410-b5e6-96231b3b80d8
    jrose-apple committed Nov 26, 2012
    Copy the full SHA
    7bd51ea View commit details
  6. check that always_inline attribute works with -fno-inline

    Clean up the existing test to use FileCheck.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168607 91177308-0d34-0410-b5e6-96231b3b80d8
    Sebastian Pop committed Nov 26, 2012
    Copy the full SHA
    9e4bafc View commit details
  7. Add missing "break". Thanks to Craig for spotting it.

    I'm looking at ways to fix the relevant test so it can catch this sort of mistake.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168618 91177308-0d34-0410-b5e6-96231b3b80d8
    eefriedman committed Nov 26, 2012
    Copy the full SHA
    f582499 View commit details
  8. Improve diagnostic on C++11 attribute specifiers that appear at wrong…

    … syntactic locations around class specifiers.
    
    This change list implemented logic that explicitly detects several combinations of locations where C++11 attribute
    specifiers might be incorrectly placed within a class specifier. Previously we emit generic diagnostics like 
    "expected identifier" for such cases; now we emit specific diagnostic against the misplaced attributes, this also 
    fixed a bug in old code where attributes appear at legitimate locations were incorrectly rejected.
    
    Thanks to Richard Smith for reviewing!
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168626 91177308-0d34-0410-b5e6-96231b3b80d8
    Michael Han authored and Michael Han committed Nov 26, 2012
    Copy the full SHA
    2e39713 View commit details

Commits on Nov 27, 2012

  1. Frontend: Create a virtual file for named pipe inputs.

     - This ensures we see the right buffer size for the file.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168636 91177308-0d34-0410-b5e6-96231b3b80d8
    ddunbar committed Nov 27, 2012
    Copy the full SHA
    acf3612 View commit details
  2. Move Clang code owners list from llvm/ to cfe/.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168639 91177308-0d34-0410-b5e6-96231b3b80d8
    zygoloid committed Nov 27, 2012
    Copy the full SHA
    f18dd8e View commit details
  3. Duplicate some common owners between Clang and LLVM.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168650 91177308-0d34-0410-b5e6-96231b3b80d8
    zygoloid committed Nov 27, 2012
    Copy the full SHA
    4b98b2b View commit details
  4. Revert r168411 for now.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168667 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Nov 27, 2012
    Copy the full SHA
    8272be5 View commit details
  5. Add a testcase that r168411 would break.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168669 91177308-0d34-0410-b5e6-96231b3b80d8
    espindola committed Nov 27, 2012
    Copy the full SHA
    ec351f1 View commit details
  6. [analyzer] Fix test to work on non-LP64 systems.

    Thanks for the original catch in r168303, Takumi.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168671 91177308-0d34-0410-b5e6-96231b3b80d8
    jrose-apple committed Nov 27, 2012
    Copy the full SHA
    6e99f9f View commit details
  7. Copy the full SHA
    3fa3c44 View commit details
  8. This patch addresses an incompatibility relative to the 64-bit PowerPC

    ELF ABI.
    
    Complex values are to be passed in registers as though the real and
    imaginary parts were passed as separate parameters.  Prior to this
    patch, complex values were passed as byval aggregates.  It turns out
    that specifying getDirect() for all complex types when classifying the
    argument type results in the desired behavior.
    
    The new Clang test case verifies that the correct LLVM IR is generated
    for caller and callee for each of the underlying types for _Complex.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168673 91177308-0d34-0410-b5e6-96231b3b80d8
    wschmidt-ibm committed Nov 27, 2012
    Copy the full SHA
    c9715fc View commit details
  9. Copy the full SHA
    6902e41 View commit details
  10. Test for r168674.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168675 91177308-0d34-0410-b5e6-96231b3b80d8
    eefriedman committed Nov 27, 2012
    Copy the full SHA
    55f6c33 View commit details
  11. clang/test/lit.cfg: Disable dev-fd-fs on cygwin for now.

    open("/dev/fd/1-foobar") fails with EEXIST on cygwin.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168676 91177308-0d34-0410-b5e6-96231b3b80d8
    chapuni committed Nov 27, 2012
    Copy the full SHA
    93308b9 View commit details
  12. Merge branch 'master' of http://llvm.org/git/clang

    JP Bonn committed Nov 27, 2012
    Copy the full SHA
    4c93bae View commit details
  13. Remove outdated FIXME; should have removed that in r160782

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168698 91177308-0d34-0410-b5e6-96231b3b80d8
    timurrrr committed Nov 27, 2012
    Copy the full SHA
    5e7b43e View commit details
  14. Merge branch 'master' of http://llvm.org/git/clang

    JP Bonn committed Nov 27, 2012
    Copy the full SHA
    01a9a76 View commit details
Loading