Skip to content
  1. Jul 11, 2012
  2. Jul 10, 2012
  3. Jul 07, 2012
    • Benjamin Kramer's avatar
      Wire up -mrdrnd for X86. · 1e250395
      Benjamin Kramer authored
      For some reason GCC decided to call the feature rdrnd instead of rdrand,
      which requires translating it for LLVM.
      
      llvm-svn: 159897
      1e250395
  4. Jul 06, 2012
  5. Jul 05, 2012
  6. Jul 04, 2012
  7. Jul 03, 2012
  8. Jun 29, 2012
  9. Jun 28, 2012
  10. Jun 27, 2012
  11. Jun 26, 2012
    • Richard Trieu's avatar
      Add template type diffing to Clang. This feature will provide a better · 91844239
      Richard Trieu authored
      comparison between two templated types when they both appear in a diagnostic.
      Type elision will remove indentical template arguments, which can be disabled
      with -fno-elide-type.  Cyan highlighting is applied to the differing types.
      
      For more formatting, -fdiagnostic-show-template-tree will output the template
      type as an indented text tree, with differences appearing inline. Template
      tree works with or without type elision.
      
      llvm-svn: 159216
      91844239
  12. Jun 21, 2012
  13. Jun 20, 2012
    • John McCall's avatar
      Introduce ObjCRuntime::hasWeakClassImport() and use it in the appropriate · 18ac1632
      John McCall authored
      places.  I've turned this off for the GNU runtimes --- I don't know if
      they support weak class import, but it's easy enough for them to opt in.
      
      Also tweak a comment per review by Jordan.
      
      llvm-svn: 158860
      18ac1632
    • John McCall's avatar
      Restructure how the driver communicates information about the · 5fb5df9c
      John McCall authored
      target Objective-C runtime down to the frontend:  break this
      down into a single target runtime kind and version, and compute
      all the relevant information from that.  This makes it
      relatively painless to add support for new runtimes to the
      compiler.  Make the new -cc1 flag, -fobjc-runtime=blah-x.y.z,
      available at the driver level as a better and more general
      alternative to -fgnu-runtime and -fnext-runtime.  This new
      concept of an Objective-C runtime also encompasses what we
      were previously separating out as the "Objective-C ABI", so
      fragile vs. non-fragile runtimes are now really modelled as
      different kinds of runtime, paving the way for better overall
      differentiation.
      
      As a sort of special case, continue to accept the -cc1 flag
      -fobjc-runtime-has-weak, as a sop to PLCompatibilityWeak.
      
      I won't go so far as to say "no functionality change", even
      ignoring the new driver flag, but subtle changes in driver
      semantics are almost certainly not intended.
      
      llvm-svn: 158793
      5fb5df9c
  14. Jun 19, 2012
    • Meador Inge's avatar
      Revert predefined decl tracking. · cdc0057e
      Meador Inge authored
      r158085 added some logic to track predefined declarations.  The main reason we
      had predefined declarations in the input was because the __builtin_va_list
      declarations were injected into the preprocessor input.  As of r158592 we 
      explicitly build the __builtin_va_list declarations.  Therefore the predefined
      decl tracking is no longer needed.
      
      llvm-svn: 158732
      cdc0057e
    • Jordan Rose's avatar
      Fix the location of the fixit for -Wnewline-eof. · 8d63d5b8
      Jordan Rose authored
      It turns out SourceManager treating the "one-past-the-end" location as invalid,
      but then failing to set the invalid flag properly.
      
      llvm-svn: 158699
      8d63d5b8
  15. Jun 17, 2012
  16. Jun 16, 2012
  17. Jun 15, 2012
  18. Jun 12, 2012
    • Hal Finkel's avatar
      Add PPC support for translating gcc-style -mcpu options into LLVM -target-cpu options. · 8eb59285
      Hal Finkel authored
      This functionality is based on what is done on ARM, and enables selecting PPC CPUs
      in a way compatible with gcc's driver. Also, mirroring gcc (and what is done on x86),
      -mcpu=native support was added. This uses the host cpu detection from LLVM
      (which will also soon be updated by refactoring code currently in backend).
      
      In order for this to work, the target needs a list of valid CPUs -- we now accept all CPUs accepted by LLVM.
      A few preprocessor defines for common CPU types have been added.
      
      llvm-svn: 158334
      8eb59285
  19. Jun 10, 2012
  20. Jun 08, 2012
  21. Jun 06, 2012
    • Jordan Rose's avatar
      Add pedantic warning -Wempty-translation-unit (C11 6.9p1). · ccf43ca0
      Jordan Rose authored
      In standard C since C89, a 'translation-unit' is syntactically defined to have
      at least one "external-declaration", which is either a decl or a function
      definition. In Clang the latter gives us a declaration as well.
      
      The tricky bit about this warning is that our predefines can contain external
      declarations (__builtin_va_list and the 128-bit integer types). Therefore our
      AST parser now makes sure we have at least one declaration that doesn't come
      from the predefines buffer.
      
      Also, remove bogus warning about empty source files. This doesn't catch source
      files that only contain comments, and never fired anyway because of our
      predefines.
      
      PR12665 and <rdar://problem/9165548>
      
      llvm-svn: 158085
      ccf43ca0
  22. Jun 05, 2012
  23. Jun 04, 2012
  24. Jun 03, 2012
  25. May 31, 2012
Loading