Skip to content
Commit 3bdcff58 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

When instantiating a C++ "new" expression, don't fake source locations

for the '(' and ')' around the initializer unless we actually have an
initializer. Fixes PR10197, an issue where we were value-initializing
rather than default-initializing.

llvm-svn: 133913
parent 4cc3f296
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment