Skip to content
  1. Dec 11, 2008
    • Anders Carlsson's avatar
      Make sure to promote expressions of the form (floating point + complex... · b05961c7
      Anders Carlsson authored
      Make sure to promote expressions of the form (floating point + complex integer) correctly, to (complex floating point + complex floating point)
      
      llvm-svn: 60862
      b05961c7
    • Ted Kremenek's avatar
      PreprocessorLexer (and subclasses): · 8e1f05fc
      Ted Kremenek authored
      - Added virtual method 'getSourceLocation()' (no arguments) that gets the location of the next "observable" location (e.g., next character, next token).
      PPLexerChange.cpp:
      - Implemented FIXME by using PreprocessorLexer::getSourceLocation() to get the location in the file we are returning to after lexing a #included file.  This appears to be slightly faster than having the branch (i.e., 'if(CurLexer)').  It's also not a really hot part of the Preprocessor.
      
      llvm-svn: 60860
      8e1f05fc
    • Douglas Gregor's avatar
      Added a warning when referencing an if's condition variable in the · 85970ca8
      Douglas Gregor authored
      "else" clause, e.g.,
      
        if (int X = foo()) {
        } else {
          if (X) { // warning: X is always zero in this context
          }
        }
      
      Fixes rdar://6425550 and lets me think about something other than
      DeclContext.
      
      llvm-svn: 60858
      85970ca8
  2. Dec 10, 2008
  3. Dec 09, 2008
  4. Dec 08, 2008
  5. Dec 07, 2008
Loading