Skip to content
  1. Aug 22, 2011
    • Nico Weber's avatar
      Warn on missing [super dealloc] calls. · 715abaf2
      Nico Weber authored
      This matches gcc's logic. Half of PR10661.
      
      llvm-svn: 138240
      715abaf2
    • Chandler Carruth's avatar
      Fix a crash-on-valid that has been here for a very long time: · 41c6dcc7
      Chandler Carruth authored
        const int &x = x;
      
      This crashed by inifinetly recursing within the lvalue evaluation
      routine. I've added a (somewhat) braindead way of preventing this
      recursion. If folks have better suggestions for how to avoid it I'm all
      ears.
      
      That said, we have some work to do. This doesn't trigger a single
      warning for uninitialized, self-initialized or otherwise completely
      wrong code. In some senses, the crash was almost better.
      
      llvm-svn: 138239
      41c6dcc7
    • Argyrios Kyrtzidis's avatar
      Fix a bug in objc @encoding of C++ classes. · c7e50c5c
      Argyrios Kyrtzidis authored
      llvm-svn: 138235
      c7e50c5c
    • Fariborz Jahanian's avatar
      Restore patch I reversed in r138040. Known buildbot · 8d382dc7
      Fariborz Jahanian authored
      failures are resolved.
      
      llvm-svn: 138234
      8d382dc7
    • Argyrios Kyrtzidis's avatar
      Boost the efficiency of SourceManager::getMacroArgExpandedLocation. · 61ef3db2
      Argyrios Kyrtzidis authored
      Currently getMacroArgExpandedLocation is very inefficient and for the case
      of a location pointing at the main file it will end up checking almost all of
      the SLocEntries. Make it faster:
      
      -Use a map of macro argument chunks to their expanded source location. The map
       is for a single source file, it's stored in the file's ContentCache and lazily
       computed, like the source lines cache.
      -In SLocEntry's FileInfo add an 'unsigned NumCreatedFIDs' field that keeps track
       of the number of FileIDs (files and macros) that were created during preprocessing
       of that particular file SLocEntry. This is useful when computing the macro argument
       map in skipping included files while scanning for macro arg FileIDs that lexed from
       a specific source file. Due to padding, the new field does not increase the size
       of SLocEntry.
      
      llvm-svn: 138225
      61ef3db2
  2. Aug 21, 2011
  3. Aug 20, 2011
  4. Aug 19, 2011
Loading