Go to file
Gabor Marton a006b80a74 [CTU] Do not allow different CPP dialects in CTU
Summary:
If CPP dialects are different then return with error.

Consider this STL code:
  template<typename _Alloc>
    struct __alloc_traits
  #if __cplusplus >= 201103L
    : std::allocator_traits<_Alloc>
  #endif
    { // ...
    };
This class template would create ODR errors during merging the two units,
since in one translation unit the class template has a base class, however
in the other unit it has none.

Reviewers: xazax.hun, a_sidorin, r.stahl

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D57906

llvm-svn: 355096
2019-02-28 15:24:59 +00:00
clang [CTU] Do not allow different CPP dialects in CTU 2019-02-28 15:24:59 +00:00
clang-tools-extra [clang-tidy] another issue in documentation, double empty line seemed to confuse code-block 2019-02-28 15:18:54 +00:00
compiler-rt [sanitizer] Got rid of text relocations in i386 vfork interceptor. 2019-02-28 01:54:55 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
libcxx [NFC][libc++] Update comment about oldest supported macosx for back-deployment 2019-02-27 23:36:22 +00:00
libcxxabi [libcxxabi][CMake] Drop unused HandleOutOfTreeLLVM include 2019-02-18 20:58:06 +00:00
libunwind [CMake] Don't cache LLVM_MAIN_SRC_DIR 2019-02-13 07:09:26 +00:00
lld [LLD][ELF] - Stop using binary input in invalid/tls-symbol.s test. NFCI. 2019-02-28 09:24:12 +00:00
lldb Move Symbols.cpp files. 2019-02-28 01:26:01 +00:00
llgo Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
llvm [PowerPC] Removed STATISTIC that was causing build errors. 2019-02-28 12:40:28 +00:00
openmp [OpenMP] Fix check-openmp after r354553 2019-02-21 12:00:57 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly [opaque pointer types] Update calls to CreateCall to pass the function 2019-02-08 19:30:46 +00:00
pstl [pstl] Remove some warnings when compiling with a recent Clang 2019-02-15 17:30:35 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.