Skip to content
  1. Sep 18, 2009
  2. Sep 17, 2009
    • Mike Stump's avatar
      Fix typo. · 6b574afc
      Mike Stump authored
      llvm-svn: 82170
      6b574afc
    • Douglas Gregor's avatar
      Initial implementation of a code-completion interface in Clang. In · 2436e711
      Douglas Gregor authored
      essence, code completion is triggered by a magic "code completion"
      token produced by the lexer [*], which the parser recognizes at
      certain points in the grammar. The parser then calls into the Action
      object with the appropriate CodeCompletionXXX action.
      
      Sema implements the CodeCompletionXXX callbacks by performing minimal
      translation, then forwarding them to a CodeCompletionConsumer
      subclass, which uses the results of semantic analysis to provide
      code-completion results. At present, only a single, "printing" code
      completion consumer is available, for regression testing and
      debugging. However, the design is meant to permit other
      code-completion consumers.
      
      This initial commit contains two code-completion actions: one for
      member access, e.g., "x." or "p->", and one for
      nested-name-specifiers, e.g., "std::". More code-completion actions
      will follow, along with improved gathering of code-completion results
      for the various contexts.
      
      [*] In the current -code-completion-dump testing/debugging mode, the
      file is truncated at the completion point and EOF is translated into
      "code completion".
      
      llvm-svn: 82166
      2436e711
    • Mike Stump's avatar
      Fix typo. · faacf018
      Mike Stump authored
      llvm-svn: 82164
      faacf018
    • John McCall's avatar
      Fix a few places where PointerIntPair was using PointerLikeTypeTraits<PointerTy> · 26a96b03
      John McCall authored
      instead of the PtrTraits provided.  Allows PointerIntPair to contain a
      PointerUnion safely, as long as the bits add up.
      
      llvm-svn: 82163
      26a96b03
    • Dan Gohman's avatar
      Add an svn:ignore. · 691a0c45
      Dan Gohman authored
      llvm-svn: 82162
      691a0c45
    • Daniel Dunbar's avatar
      Tweak clang testing. · ecac0a40
      Daniel Dunbar authored
       - Move CMake to using the new test runner.
      
       - Switch Makefiles to use the lit.site.cfg.in template.
      
       - Remove explicit --path arguments, instead this gets written into the site
         configuration. This means running lit from the command line should use the
         exact same configuration as is used in 'make test', assuming it can find the
         site configuration file. You still need to run 'make test' (or the cmake
         build target equivalent) at least once.
      
      llvm-svn: 82160
      ecac0a40
Loading