Skip to content
  1. Aug 31, 2011
  2. Aug 30, 2011
  3. Aug 29, 2011
  4. Aug 28, 2011
  5. Aug 27, 2011
    • Fariborz Jahanian's avatar
      objective-c - Make warning on unimplemented protocols point · 83aa8ab3
      Fariborz Jahanian authored
      to class implementation where it is supposed to be
      implemented. // rdar://10009982.
      
      llvm-svn: 138714
      83aa8ab3
    • Fariborz Jahanian's avatar
      objective-c: Treat top-level objective-c declarations · 3a039e33
      Fariborz Jahanian authored
      , such as list of forward @class decls, in a DeclGroup
      node. Deal with its consequence throught clang. This
      is in preparation for more Sema work ahead. // rdar://8843851.
      Feel free to reverse if it breaks something important
      and I am unavailable.
      
      llvm-svn: 138709
      3a039e33
    • John McCall's avatar
      The lvalue-to-rvalue on structs in C++ is actually part · 29ad95b2
      John McCall authored
      of default argument promotion and needs to happen unconditionally.
      This is particularly semantically important in C++0x.
      
      llvm-svn: 138691
      29ad95b2
    • Douglas Gregor's avatar
      In C++0x mode, suggest nullptr as the initializer for an uninitialized · 472f85d8
      Douglas Gregor authored
      pointer variable. Patch by David Blaikie!
      
      llvm-svn: 138687
      472f85d8
    • Douglas Gregor's avatar
      Introduce support for a simple module import declaration, which · 08142534
      Douglas Gregor authored
      loads the named module. The syntax itself is intentionally hideous and
      will be replaced at some later point with something more
      palatable. For now, we're focusing on the semantics:
        - Module imports are handled first by the preprocessor (to get macro
        definitions) and then the same tokens are also handled by the parser
        (to get declarations). If both happen (as in normal compilation),
        the second one is redundant, because we currently have no way to
        hide macros or declarations when loading a module. Chris gets credit
        for this mad-but-workable scheme.
        - The Preprocessor now holds on to a reference to a module loader,
        which is responsible for loading named modules. CompilerInstance is
        the only important module loader: it now knows how to create and
        wire up an AST reader on demand to actually perform the module load.
        - We search for modules in the include path, using the module name
        with the suffix ".pcm" (precompiled module) for the file name. This
        is a temporary hack; we hope to improve the situation in the
        future.
      
      llvm-svn: 138679
      08142534
  6. Aug 26, 2011
  7. Aug 25, 2011
  8. Aug 24, 2011
  9. Aug 23, 2011
    • Eli Friedman's avatar
      Remove function parameter which always used the default value. · c616c5ff
      Eli Friedman authored
      llvm-svn: 138368
      c616c5ff
    • Caitlin Sadowski's avatar
      Thread-safety analysis: adding in a basic lockset tracking system. This · afbbd8e5
      Caitlin Sadowski authored
      system flags an error when unlocking a lock which was not held, locking
      the same lock twice, having a different lockset on each iteration of a
      loop, or going out of scope while still holding a lock. In order to
      successfully use the lockset, this patch also makes sure that attribute
      arguments are attached correctly for later parsing.
      
      This patch was also worked on by DeLesley Hutchins.
      
      Note: This patch has been reviewed by Chandler Carruth and Jeffrey
      Yasskin. Feel free to provide post-commit review comments for a
      subsequent patch.
      
      llvm-svn: 138350
      afbbd8e5
    • Matt Beaumont-Gay's avatar
      Fix an incorrect note. · 56381b85
      Matt Beaumont-Gay authored
      For the test case added to function-redecl.cpp, we were previously complaining
      about a mismatch in the parameter types, since the definition used the
      typedef'd type.
      
      llvm-svn: 138318
      56381b85
Loading