1. Sep 16, 2016
    • Neil Hickey's avatar
      Improve handling of floating point literals in OpenCL to only use double... · ddfb093b
      Neil Hickey authored
      Improve handling of floating point literals in OpenCL to only use double precision if the target supports fp64
      
      https://reviews.llvm.org/D24235
      
      llvm-svn: 281714
      ddfb093b
    • Kirill Bobyrev's avatar
      [clang-tidy] Bugfix for readability-redundant-control-flow check · d7f2a35c
      Kirill Bobyrev authored
      This check did not create FixItHints when the statement before the redundant
      control flow was not followed by a semicolon.
      
      Patch by Malcolm Parsons!
      
      Reviewers: alexfh
      
      Differential Revision: https://reviews.llvm.org/D24500
      
      llvm-svn: 281713
      d7f2a35c
    • Eric Fiselier's avatar
      Touch up [[clang::require_constant_initialization]] docs · f9b141d1
      Eric Fiselier authored
      * Fix an egregious comma usage.
      * Remove the `static` keyword in the example since the variables should have
        external linkage.
      * Use C++11 attributes in the example.
      
      llvm-svn: 281712
      f9b141d1
    • Neil Hickey's avatar
      Testing commit rights. Removing trailing white space from test file. · 50d1ded5
      Neil Hickey authored
      llvm-svn: 281711
      50d1ded5
    • Kirill Bobyrev's avatar
      [clang-rename] Merge rename-{at|all} & optimise. · e5e7e153
      Kirill Bobyrev authored
      Having both rename-at and rename-all both seems confusing and introduces
      unneeded difficulties. After merging rename-at and rename-all maintaining main
      function wrappers and custom help becomes redundant while CLI becomes less
      confusing.
      
      D24224 (which was the original patch causing buildbot failures) wasn't aware of
      bugs caused by passing both -offset and -qualified-name. After D24224 was landed
      it caused buildbot failures and therefor I just reverted it.
      
      Two things that make this patch different from D24224 are:
      
      * unittests/clang-rename was deleted, because it is unmaintained and doesn't do
      much.
      * Passing both `-offset` and `-qualified-name` isn't allowed anymore for the
      sake of preventing bugs.
      
      This patch is a trivial enhancement of accepted D24224 revision.
      
      Tested with `ninja check-all`.
      
      Differential Revision: https://reviews.llvm.org/D24567
      
      llvm-svn: 281710
      e5e7e153
    • Eric Fiselier's avatar
      Fix side effect in assertion · b4e15b8c
      Eric Fiselier authored
      llvm-svn: 281709
      b4e15b8c
    • Eric Christopher's avatar
      Move the Mangler from the AsmPrinter down to TLOF and clean up the · 4367c7fb
      Eric Christopher authored
      TLOF API accordingly.
      
      llvm-svn: 281708
      4367c7fb
    • Eric Christopher's avatar
      Remove unused function getMang(). · a808f298
      Eric Christopher authored
      llvm-svn: 281707
      a808f298
    • Stephen Hines's avatar
      Fix unused result from sign extending an Offset. · fec73ad0
      Stephen Hines authored
      Summary:
      Offset was doubled in size, but the assignment was missing. We just need
      to reassign to the original variable in this case to fix it.
      
      Reviewers: cfe-commits, echristo
      
      Subscribers: meikeb
      
      Differential Revision: https://reviews.llvm.org/D24648
      
      llvm-svn: 281706
      fec73ad0
    • Tobias Grosser's avatar
      Update CFGPrinter -> CFGPrinterLegacyPass · 8f86a474
      Tobias Grosser authored
      .. to match recent changes in LLVM that broke the Polly compilation.
      
      llvm-svn: 281705
      8f86a474
    • Rui Ueyama's avatar
      Use functions in DebugInfoPDB to create dummy PDB file. · b28c6d49
      Rui Ueyama authored
      I don't think we are creating valid PDB file here,
      but it is okay because we have never created valid PDBs before.
      
      llvm-svn: 281704
      b28c6d49
    • Justin Lebar's avatar
      4856e230
    • Rui Ueyama's avatar
      Demangle symbols in "undefined symbol" error message. · 2644cd1d
      Rui Ueyama authored
      llvm-svn: 281698
      2644cd1d
    • Eric Fiselier's avatar
      Attempt to fix Sphinx build · 8e68d6a0
      Eric Fiselier authored
      llvm-svn: 281697
      8e68d6a0
    • Todd Fiala's avatar
      add availability check to DarwinLog event tests · d15aa24a
      Todd Fiala authored
      The pexpect-based tests properly checked for the stub reporting
      DarwinLog support.  The event-based ones did not.  This is fixed
      here.  Swift CI bots are not currently building debugserver on
      macOS, so they don't have the DarwinLog support even when they
      pass the macOS 10.12 check.
      
      llvm-svn: 281696
      d15aa24a
    • Eric Fiselier's avatar
      Update _LIBCPP_EXCEPTION_ABI doc with @mclow's feedback · 991c354b
      Eric Fiselier authored
      llvm-svn: 281695
      991c354b
    • David Majnemer's avatar
      Add a test for r280191 · 08566532
      David Majnemer authored
      llvm-svn: 281694
      08566532
    • John McCall's avatar
      Alter the iOS/tvOS ARM64 C++ ABI to ignore the upper half of the · d23b27e0
      John McCall authored
      virtual table offset in a member function pointer.
      
      We are reserving this space for future ABI use relating to alternative
      v-table configurations.  In the meantime, continue to zero-initialize
      this space when actually emitting a member pointer literal.
      
      This will successfully interoperate with existing compilers.
      Future versions of the compiler may place additional data in
      this location, and at that point, code emitted by compilers
      prior to this patch will fail if exposed to such a member pointer.
      This is therefore a somewhat hard ABI break.  However, because
      it is limited to an uncommon case of an uncommon language feature,
      and especially because interoperation with the standard library
      does not depend on member pointers, we believe that with a
      sufficiently advance compiler change the impact of this break
      will be minimal in practice.
      
      llvm-svn: 281693
      d23b27e0
    • Eric Fiselier's avatar
      e0d2d58f
    • Eric Fiselier's avatar
      Move _LIBCPP_INLINE_VISIBILITY to first declaration in sstream. · 1e033439
      Eric Fiselier authored
      llvm-svn: 281691
      1e033439
    • Jim Ingham's avatar
      First tests for serializing breakpoints. · 6d1e4696
      Jim Ingham authored
      Plus a few bug fixes I found along the way.
      
      llvm-svn: 281690
      6d1e4696
    • Vitaly Buka's avatar
      Revert "[asan] Avoid lifetime analysis for allocas with can be in ambiguous state" · 6c7a0bc3
      Vitaly Buka authored
      This approach is not good enough. Working on the new solution.
      
      This reverts commit r280907.
      
      llvm-svn: 281689
      6c7a0bc3
    • Vitaly Buka's avatar
      Revert "[asan] Add flag to allow lifetime analysis of problematic allocas" · 4670ae5f
      Vitaly Buka authored
      This approach is not good enough. Working on the new solution.
      
      This reverts commit r281126.
      
      llvm-svn: 281688
      4670ae5f
    • Vitaly Buka's avatar
      [asan] Remove the test as the fix is going to be removed · 5ee727ad
      Vitaly Buka authored
      Summary:
      I need to redu solution, existing is not good enough.
      
      PR28267
      
      Reviewers: eugenis
      
      Subscribers: llvm-commits, kubabrecka
      
      Differential Revision: https://reviews.llvm.org/D24490
      
      llvm-svn: 281687
      5ee727ad
    • Stephen Hines's avatar
      Do not warn about format strings that are indexed string literals. · 648c369e
      Stephen Hines authored
      Summary:
      The warning for a format string not being a string literal and therefore
      being potentially insecure is overly strict for indices into string
      literals. This fix checks if the index into the string literal is
      precomputable. If that's the case it will check if the suffix of that
      string literal is a valid format string string literal. It will still
      issue the aforementioned warning for out of range indices into the
      string literal.
      
      Patch by Meike Baumgärtner (meikeb)
      
      Reviewers: rsmith
      
      Subscribers: srhines, cfe-commits
      
      Differential Revision: https://reviews.llvm.org/D24584
      
      llvm-svn: 281686
      648c369e
    • Mehdi Amini's avatar
      Fix autoupgrade logic for Objective-C class properties module flag · b53b62eb
      Mehdi Amini authored
      Previous we were issuing an error when linking a module containing
      the new Objective-C metadata structure for class properties with an
      "old" one.
      Now instead we downgrade the module flag so that the Objective-C
      runtime does not expect the new metadata structure.
      
      This is consistent with what ld64 is doing on binary files.
      
      Differential Revision: https://reviews.llvm.org/D24620
      
      llvm-svn: 281685
      b53b62eb
    • Eric Fiselier's avatar
      Use _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY in valarray to support attribute((internal_linkage)). · 1fbaf535
      Eric Fiselier authored
      The externally instantiated member functions must be declared using
      _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY, not _LIBCPP_INLINE_VISIBILITY, in
      order to be properly exported when using __attribute__((internal_linkage)).
      
      Otherwise the explicit instantiations will obviously have internal linkage and
      will not be exported from the dylib.
      
      llvm-svn: 281684
      1fbaf535
    • Eric Fiselier's avatar
      Move inline attributes in filesystem to first declaration · 1b17a4b7
      Eric Fiselier authored
      llvm-svn: 281683
      1b17a4b7
    • Akira Hatanaka's avatar
      [CodeGen][ObjC] Block captures should inherit the type of the captured · d542ccfc
      Akira Hatanaka authored
      field in the enclosing lambda or block.
      
      This patch fixes a bug in code-gen where it uses the type of the
      declared variable rather than the type of the capture of the enclosing
      lambda or block for the block capture. For example, in the following
      function, code-gen currently uses i32* for the block capture "a" because
      "a" is passed to foo1 as a reference, but it should use i32 since the
      enclosing lambda captures "a" by value.
      
      void foo1(int &a) {
        auto lambda = [a]{
          auto block1 = ^{
            i = a;
          };
          block1();
        };
        lambda();
      }
      
      rdar://problem/18586386
      
      Differential Revision: https://reviews.llvm.org/D21104
      
      llvm-svn: 281682
      d542ccfc
    • Eric Fiselier's avatar
      [libc++] Add _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY to support GCC ABI compatibility · f8f31c49
      Eric Fiselier authored
      Summary:
      GCC and Clang handle visibility attributes on the out-of-line definition of externally instantiated templates differently. For example in the reproducer below Clang will emit both 'foo' and 'bar' with default visibility while GCC only emits a non-hidden 'foo'.  
      
      ```
      // RUN: g++ -std=c++11 -shared -O3 test.cpp && sym_extract.py a.out
      // RUN: clang++ -std=c++11 -shared -O3 test.cpp && sym_extract.py a.out
      #define INLINE_VISIBILITY __attribute__((visibility("hidden"), always_inline))
      
      template <class T>
      struct Foo {
        void foo();
        void bar();
      };
      
      template <class T>
      void Foo<T>::foo() {}
      
      template <class T>
      inline INLINE_VISIBILITY
      void Foo<T>::bar() {}
      
      template struct Foo<int>;
      ```
      
      This difference creates ABI incompatibilities between Clang and GCC built dylibs. Specifically GCC built dylibs lack definitions for various member functions of `basic_string`, `basic_istream`, `basic_ostream`, `basic_iostream`, and `basic_streambuf` (All of these types are externally instantiated). 
      
      Surprisingly these missing symbols don't cause many problems because the functions are marked `always_inline`  therefore the dylib definition is rarely needed. However when an out-of-line definition is required then GCC built dylibs will fail to link. For example [GCC built dylibs cannot build Clang](http://stackoverflow.com/questions/39454262/clang-build-errors).
      
      This patch works around this issue by adding `_LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY` which is used to mark externally instantiated member functions as always inline. When building the library `_LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY` sets the symbol's visibility to "default" instead of "hidden", otherwise it acts exactly the same as `_LIBCPP_INLINE_VISIBILITY`.
      
      After applying this patch GCC dylibs now contain:
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7sungetcEv`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5gbumpEi`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE7sungetcEv`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9sputbackcEc`
        * `_ZNSt3__113basic_istreamIwNS_11char_traitsIwEEE3getERNS_15basic_streambufIwS2_EE`
        * `_ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEElsEPFRNS_9basic_iosIwS2_EES6_E`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE4setpEPcS4_`
        * `_ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEEC1EPNS_15basic_streambufIwS2_EE`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6snextcEv`
        * `_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEE4swapERS3_`
        * `_ZNSt3__113basic_istreamIwNS_11char_traitsIwEEE4swapERS3_`
        * `_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm`
        * `_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsEPFRNS_8ios_baseES5_E`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9pubsetbufEPcl`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE10pubseekoffExNS_8ios_base7seekdirEj`
        * `_ZNSt3__113basic_istreamIwNS_11char_traitsIwEEErsEPFRNS_9basic_iosIwS2_EES6_E`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5pbumpEi`
        * `_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5seekpENS_4fposI11__mbstate_tEE`
        * `_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEE7getlineEPcl`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5sgetcEv`
        * `_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEE3getERNS_15basic_streambufIcS2_EE`
        * `_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEPFRNS_8ios_baseES5_E`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE8in_availEv`
        * `_ZNSt3__113basic_istreamIwNS_11char_traitsIwEEErsEPFRNS_8ios_baseES5_E`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6sbumpcEv`
        * `_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEPFRNS_9basic_iosIcS2_EES6_E`
        * `_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEE3getERc`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6snextcEv`
        * `_ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw`
        * `_ZNSt3__113basic_istreamIwNS_11char_traitsIwEEE7getlineEPwl`
        * `_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5tellpEv`
        * `_ZNSt3__113basic_istreamIwNS_11char_traitsIwEEE3getERw`
        * `_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7pubsyncEv`
        * `_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEE3getEPcl`
        * `_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEEC2EPNS_15basic_streambufIcS2_EE`
        * `_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsEPFRNS_9basic_iosIcS2_EES6_E`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE7pubsyncEv`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5sputcEc`
        * `_ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE5seekpExNS_8ios_base7seekdirE`
        * `_ZNKSt3__115basic_streambufIcNS_11char_traitsIcEEE6getlocEv`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5gbumpEi`
        * `_ZNSt3__114basic_iostreamIcNS_11char_traitsIcEEE4swapERS3_`
        * `_ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE5seekpENS_4fposI11__mbstate_tEE`
        * `_ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE5tellpEv`
        * `_ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEElsEPFRS3_S4_E`
        * `_ZNSt3__113basic_istreamIwNS_11char_traitsIwEEE3getEPwl`
        * `_ZNSt3__113basic_istreamIwNS_11char_traitsIwEEEC2EPNS_15basic_streambufIwS2_EE`
        * `_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEPFRS3_S4_E`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE4setgEPcS4_S4_`
        * `_ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwmm`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE4setgEPwS4_S4_`
        * `_ZNSt3__113basic_istreamIwNS_11char_traitsIwEEEC1EPNS_15basic_streambufIwS2_EE`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE8pubimbueERKNS_6localeE`
        * `_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE4swapERS3_`
        * `_ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEEC2EPNS_15basic_streambufIwS2_EE`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE10pubseekposENS_4fposI11__mbstate_tEEj`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5pbumpEi`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5sgetcEv`
        * `_ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE4swapERS3_`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE10pubseekposENS_4fposI11__mbstate_tEEj`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5sputnEPKcl`
        * `_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5seekpExNS_8ios_base7seekdirE`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5sgetnEPwl`
        * `_ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEElsEPFRNS_8ios_baseES5_E`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE4setpEPwS4_`
        * `_ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5sgetnEPcl`
        * `_ZNKSt3__115basic_streambufIwNS_11char_traitsIwEEE6getlocEv`
        * `_ZNSt3__114basic_iostreamIcNS_11char_traitsIcEEEC2EPNS_15basic_streambufIcS2_EE`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE8pubimbueERKNS_6localeE`
        * `_ZNSt3__114basic_iostreamIcNS_11char_traitsIcEEEC1EPNS_15basic_streambufIcS2_EE`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE8in_availEv`
        * `_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEEC1EPNS_15basic_streambufIcS2_EE`
        * `_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcmm`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6sbumpcEv`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE10pubseekoffExNS_8ios_base7seekdirEj`
        * `_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEEC2EPNS_15basic_streambufIcS2_EE`
        * `_ZNSt3__113basic_istreamIwNS_11char_traitsIwEEErsEPFRS3_S4_E`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9sputbackcEw`
        * `_ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5sputnEPKwl`
        * `_ZNSt3__113basic_istreamIcNS_11char_traitsIcEEErsEPFRS3_S4_E`
        * `_ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEEC1EPNS_15basic_streambufIcS2_EE`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9pubsetbufEPwl`
        * `_ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5sputcEw`
      
      
      This patch has no effect on Clang based builds.
      
      
      
      Reviewers: mclow.lists, eugenis, danalbert, jroelofs, EricWF
      
      Subscribers: beanz, cfe-commits, mgorny
      
      Differential Revision: https://reviews.llvm.org/D24600
      
      llvm-svn: 281681
      f8f31c49
    • Justin Lebar's avatar
      [CUDA] Don't try to run sanitizers on NVPTX. · 6efbc73c
      Justin Lebar authored
      Summary:
      Sanitizers aren't supported on NVPTX -- don't try to run them.
      
      This lets you e.g. pass -fsanitize=address and get asan on your host
      code.
      
      Reviewers: kcc
      
      Subscribers: cfe-commits, tra, jhen
      
      Differential Revision: https://reviews.llvm.org/D24640
      
      llvm-svn: 281680
      6efbc73c
    • Kostya Serebryany's avatar
      [asan] fix window build · 4dd6b50f
      Kostya Serebryany authored
      llvm-svn: 281679
      4dd6b50f
    • Rui Ueyama's avatar
      Check /pdb output using llvm-pdbdump. · 783afd66
      Rui Ueyama authored
      test/COFF/rsds.test checks only RSDS directory in a DLL and
      didn't check the validity of the PDF file produced.
      (Technically the produced PDB is not valid because it is really
      a stub, but this test is still good to have.)
      
      llvm-svn: 281678
      783afd66
    • Kostya Serebryany's avatar
      3e9ce5f4
    • Hans Wennborg's avatar
      build_llvm_package.bat: Update to VS2015 and include LLDB · 4dfe0d89
      Hans Wennborg authored
      llvm-svn: 281676
      4dfe0d89
    • Evgeniy Stepanov's avatar
      [asan] Reenable 64-bit allocator on android/aarch64. · 8652d6ac
      Evgeniy Stepanov authored
      This is a re-commit of r281371, with updated tests.
      
      llvm-svn: 281674
      8652d6ac
    • Eric Fiselier's avatar
      [libc++] Fix and document visibility attributes for Clang, GCC and Windows. · 49e2967f
      Eric Fiselier authored
      Summary:
      This patch fixes a number of problems with the visibility macros across GCC (on Unix) and Windows (DLL import/export semantics). All of the visibility macros are now documented under `DesignDocs/VisibilityMacros.rst`. Now I'll no longer forget the subtleties of each!
      
      This patch adds two new visibility macros:
      
      * `_LIBCPP_ENUM_VIS` for controlling the typeinfo of enum types. Only Clang supports this.
      * `_LIBCPP_EXTERN_TEMPLATE_TYPE_VIS` for redefining visibility on explicit instantiation declarations. Clang and Windows require this.
      
      After applying this patch GCC only emits one -Wattribute warning opposed to 30+.
      
      
      Reviewers: mclow.lists, EricWF
      
      Subscribers: beanz, mgorny, cfe-commits
      
      Differential Revision: https://reviews.llvm.org/D24602
      
      llvm-svn: 281673
      49e2967f
    • Sanjay Patel's avatar
    • Rui Ueyama's avatar
      Fix old copy-n-paste errors. · 8e8296fa
      Rui Ueyama authored
      llvm-svn: 281671
      8e8296fa
    • Rui Ueyama's avatar
      Create PDB.h and move code to remove unnecessary #includes. · 1d99ab39
      Rui Ueyama authored
      llvm-svn: 281670
      1d99ab39