Skip to content
  1. Apr 27, 2010
    • Douglas Gregor's avatar
      Improve source-location information in a C++ typeid (type) expression · 9da64191
      Douglas Gregor authored
      by using TypeSourceInfo, cleaning up the representation
      somewhat. Teach getTypeOperand() to strip references and
      cv-qualifiers, providing the semantic view of the type without
      requiring any extra storage (the unmodified type remains within the
      TypeSourceInfo). This fixes a bug found by Boost's call_traits test.
      
      Finally, clean up semantic analysis, by splitting the ActOnCXXTypeid
      routine into ActOnCXXTypeId (the parser action) and two BuildCXXTypeId
      functions, which perform the semantic analysis for typeid(type) and
      typeid(expression), respectively. We now perform less work at template
      instantiation time (we don't look for std::type_info again) and can
      give better diagnostics.
      
      llvm-svn: 102393
      9da64191
    • Chris Lattner's avatar
      fix PR6936: don't generate line marker directives when preprocessing · 678eaa90
      Chris Lattner authored
      .S files.  "# 123" is passed through as-is, not treated as a line
      marker in this mode.  No testcase, because it would be nasty and isn't
      worth it.
      
      llvm-svn: 102391
      678eaa90
    • Fariborz Jahanian's avatar
      Diagnose declaration of reference typed ivars. · 0103d67f
      Fariborz Jahanian authored
      llvm-svn: 102390
      0103d67f
  2. Apr 26, 2010
Loading