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
    • Douglas Gregor's avatar
      Merge uninstantiated default arguments more carefully, and try not to · 4f15f4de
      Douglas Gregor authored
      complain about specializations of member functions that are not
      definitions. Fixes PR4995.
      
      llvm-svn: 82159
      4f15f4de
    • Chris Lattner's avatar
      pass machinemoduleinfo down into getSymbolForDwarfGlobalReference, · a6ebba27
      Chris Lattner authored
      currently unused.
      
      llvm-svn: 82157
      a6ebba27
    • Steve Naroff's avatar
      Add clang_disposeTranslationUnit() and clang_disposeIndex(). · 3aa2d730
      Steve Naroff authored
      llvm-svn: 82154
      3aa2d730
    • Dan Gohman's avatar
      Teach ScalarEvolution how to reason about no-wrap flags on loops · 36bad00b
      Dan Gohman authored
      where the induction variable has a non-unit stride, such as {0,+,2}, and
      there are expressions such as {1,+,2} inside the loop formed with
      or or add nsw operators.
      
      llvm-svn: 82151
      36bad00b
Loading