Skip to content
  1. Nov 09, 2013
  2. Nov 08, 2013
  3. Nov 07, 2013
    • Douglas Gregor's avatar
      Modules: Teach the preprocessor to recognize 'import' only after an '@'. · 594b8c93
      Douglas Gregor authored
      The preprocessor currently recognizes module declarations to load a
      module based on seeing the 'import' keyword followed by an
      identifier. This sequence is fairly unlikely in C (one would need a
      type named 'import'), but is more common in Objective-C (where a
      variable named 'import' can cause problems). Since import declarations
      currently require a leading '@', recognize that in the preprocessor as
      well. Fixes <rdar://problem/15084587>.
      
      llvm-svn: 194225
      594b8c93
Loading