aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-01-22 17:26:08 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-01-22 17:26:08 +0000
commit2446649c1e3fca16d7524d75260d3d588c36e671 (patch)
tree06ad58b2d9cfbb3ba64001d5c395935065f44570 /clang/lib/Frontend/CompilerInvocation.cpp
parent7a6e20070dc5e3a1f1079619e9429f0c288f9b32 (diff)
downloadllvm-2446649c1e3fca16d7524d75260d3d588c36e671.zip
llvm-2446649c1e3fca16d7524d75260d3d588c36e671.tar.gz
llvm-2446649c1e3fca16d7524d75260d3d588c36e671.tar.bz2
Saleem Abdulrasool: If errno is defined as volatile int, the qualifier differences can cause
template typename deductions on swap<> (used in string.cpp). Use decltype(errno) to replicate the type and qualifier information for holding the errno value. Because errno is expected to be assignable, there is no need to use typename std::remove_const<decltype(errno)>::type to hold the value. llvm-svn: 173172
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions