Skip to content
  1. Jan 08, 2010
    • Douglas Gregor's avatar
      Improve the fix-its for -Wparentheses to ensure that the fix-it · fa1e36d0
      Douglas Gregor authored
      suggestions follow recovery. Additionally, add a note to these
      diagnostics which suggests a fix-it for changing the behavior to what
      the user probably meant. Examples:
      
      t.cpp:2:9: warning: & has lower precedence than ==; == will be evaluated first
            [-Wparentheses]
        if (i & j == k) {
              ^~~~~~~~
                (     )
      t.cpp:2:9: note: place parentheses around the & expression to evaluate it first
        if (i & j == k) {
              ^
            (    )
      
      t.cpp:14:9: warning: using the result of an assignment as a condition
      without
            parentheses [-Wparentheses]
        if (i = f()) {
            ~~^~~~~
            (      )
      t.cpp:14:9: note: use '==' to turn this assignment into an equality
      comparison
        if (i = f()) {
              ^
              ==
      
      llvm-svn: 92975
      fa1e36d0
    • David Chisnall's avatar
      Export a public symbol for classes with the GNU runtime. · df34917a
      David Chisnall authored
      llvm-svn: 92973
      df34917a
    • Douglas Gregor's avatar
      Add an "implicit" bit to CXXThisExpr, so that we can track · b15af899
      Douglas Gregor authored
      implicitness without losing track of the (logical or actual) location
      where "this" would occur in the source.
      
      llvm-svn: 92958
      b15af899
  2. Jan 07, 2010
  3. Jan 06, 2010
  4. Jan 05, 2010
Loading