Skip to content
Commits on Apr 16, 2009
  1. @ddunbar

    Pass -fdiagnostics-show-option to clang-cc by default.

     - <rdar://problem/6796848> implement -fdiagnostics-show-option
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69276 91177308-0d34-0410-b5e6-96231b3b80d8
    ddunbar committed Apr 16, 2009
  2. @lattner

    other half of 69274

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69275 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  3. @lattner

    split diagnostic group definitions out into their own file.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69274 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  4. @lattner

    optimize and comment GetDiagInfo.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69273 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  5. @lattner

    merge several scattered tables into StaticDiagInfo.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69272 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  6. @lattner

    Implement Diagnostic::getWarningOptionForDiag with information from t…

    …blgen,
    
    this implements -fdiagnostics-show-option in clang-cc.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69271 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  7. @lattner

    tblgen is now passing diagnostic group information in the .inc file, …

    …ignore it everywhere.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69269 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  8. @lattner

    implement framework for -fdiagnostics-show-option, but tblgen isn't

    passing down the right info yet.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69268 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  9. Disable the code I added before until I understand what's causing def…

    …ault2.cpp to fail.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69267 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson committed Apr 16, 2009
  10. @lattner

    move handling of -pedantic and -pedantic-errors into Diagnostics,

    out of Warnings.cpp.  This simplifies warnings.cpp and makes it more
    efficient.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69266 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  11. @lattner

    arrange for -Wno-error=foo warnings to be immune to -Werror as

    they are supposed to be.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69265 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  12. @lattner

    change mappings to distinguish between "unset", "set by the user" and

    "set to the default value".
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69264 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  13. @ddunbar

    Driver: Remove the majority of -W* options, the driver doesn't

    generally need to know about these now we don't have to hold
    clang-cc's hand.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69263 91177308-0d34-0410-b5e6-96231b3b80d8
    ddunbar committed Apr 16, 2009
  14. @lattner

    use getDiagnosticLevel instead of getDiagnosticMapping, which

    is about to become private.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69262 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  15. @ddunbar

    Driver: Forward -W* to clang, it can handle all these itself now.

    Remove clang_W_Group and clang_ignored_W_Group.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69261 91177308-0d34-0410-b5e6-96231b3b80d8
    ddunbar committed Apr 16, 2009
  16. @lattner

    switch DiagMappings *back* to 4 bits per diag.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69260 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  17. @lattner

    implement -Wno-#warnings etc.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69259 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  18. @DougGregor

    Eliminate pch::TYPE_ATTR, which is never used

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69256 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Apr 16, 2009
  19. @DougGregor

    PCH support for CompoundLiteralExpr. This is the last C expression

    that does not require PCH support for statements. Only AddrLabelExpr,
    StmtExpr, and BlockExpr remain (for C).
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69255 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Apr 16, 2009
  20. @DougGregor

    PCH support for InitListExpr, DesignatedInitExpr, and ImplicitValueIn…

    …itExpr.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69251 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Apr 16, 2009
  21. @lattner

    when tblgen fills in all the subgroup info, clang is ready for it.

    This depends on r69249 of llvm.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69250 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 16, 2009
  22. @lattner
  23. Add support for the __has_trivial_constructor type trait.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69245 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson committed Apr 16, 2009
  24. @DougGregor

    PCH support for ShuffleVectorExpr and BlockDeclRefExpr

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69244 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Apr 16, 2009
Commits on Apr 15, 2009
  1. @DougGregor
  2. @DougGregor

    PCH support for ExtVectorElementExpr and VAArgExpr.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69240 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Apr 15, 2009
  3. @lattner

    make unknown warnings a warning, not an error.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69239 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  4. @lattner

    add anonymous groups for all the warning command line flags that the …

    …clang
    
    driver accepts and discards.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69238 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  5. @DougGregor
  6. @lattner

    add support for -Wextra and -W

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69236 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  7. @lattner

    comment out IsGroup: tblgen isn't instantiating these dependent defs …

    …quite right yet.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69234 91177308-0d34-0410-b5e6-96231b3b80d8
    lattner committed Apr 15, 2009
  8. @DougGregor

    PCH support for ImaginaryLiteral and ArraySubscriptExpr

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69233 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Apr 15, 2009
  9. Fixup codegen for copy/dispose for block literals. Radar 6791245

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69232 91177308-0d34-0410-b5e6-96231b3b80d8
    Mike Stump committed Apr 15, 2009
  10. @ddunbar

    Defer generation of tentative definitions.

     - PR3980.
    
     - <rdar://problem/6762287> [irgen] crash when generating tentative
       definition of incomplete structure
    
     - This also avoids creating common definitions for things which are
       later overwritten.
    
     - XFAIL'ed external-defs.c, it isn't completing types properly yet.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69231 91177308-0d34-0410-b5e6-96231b3b80d8
    ddunbar committed Apr 15, 2009
  11. @DougGregor

    PCH support for ExtQualType

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69230 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Apr 15, 2009
Something went wrong with that request. Please try again.