Skip to content
  1. Jun 23, 2009
  2. Jun 22, 2009
    • Douglas Gregor's avatar
      Rework the way we track which declarations are "used" during · 0b6a6242
      Douglas Gregor authored
      compilation, and (hopefully) introduce RAII objects for changing the
      "potentially evaluated" state at all of the necessary places within
      Sema and Parser. Other changes:
      
        - Set the unevaluated/potentially-evaluated context appropriately
          during template instantiation.
        - We now recognize three different states while parsing or
          instantiating expressions: unevaluated, potentially evaluated, and
          potentially potentially evaluated (for C++'s typeid).
        - When we're in a potentially potentially-evaluated context, queue
          up MarkDeclarationReferenced calls in a stack. For C++ typeid
          expressions that are potentially evaluated, we will play back
          these MarkDeclarationReferenced calls when we exit the
          corresponding potentially potentially-evaluated context.
        - Non-type template arguments are now parsed as constant
          expressions, so they are not potentially-evaluated.
      
      llvm-svn: 73899
      0b6a6242
    • Fariborz Jahanian's avatar
      Changes made per Doug's comments. · 18eb69af
      Fariborz Jahanian authored
      llvm-svn: 73897
      18eb69af
    • Fariborz Jahanian's avatar
      Remove ImplicitMustBeDefined, use universal 'Used' flag · 3a36343b
      Fariborz Jahanian authored
      instead. Do the implicit default ctor checking in MarkDeclarationReferenced.
      
      llvm-svn: 73888
      3a36343b
    • Argyrios Kyrtzidis's avatar
      Addressing Doug's suggestions: · 49abd4d9
      Argyrios Kyrtzidis authored
      -Added comment for FunctionDecl::EndRangeLoc
      -Removed a redundant check from FunctionDecl::setBody
      
      llvm-svn: 73886
      49abd4d9
    • Zhongxing Xu's avatar
      Allow CodeTextRegion to be cast to 'void *'. · 8077d7eb
      Zhongxing Xu authored
      llvm-svn: 73880
      8077d7eb
  3. Jun 21, 2009
  4. Jun 20, 2009
  5. Jun 19, 2009
Loading