summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2018-12-11 16:58:43 +0000
committerAdrian Prantl <aprantl@apple.com>2018-12-11 16:58:43 +0000
commitaa5bad449bec3b8b5aafca96e3d6daaac9be86a5 (patch)
tree4d87d9f6828499b46a78bd819669bb472bf05394 /clang/lib/Sema/SemaDeclCXX.cpp
parent743ae6045d41318149bc8d1bdaf8ce4f48792c90 (diff)
downloadbcm5719-llvm-aa5bad449bec3b8b5aafca96e3d6daaac9be86a5.tar.gz
bcm5719-llvm-aa5bad449bec3b8b5aafca96e3d6daaac9be86a5.zip
Reuse code from CGDebugInfo::getOrCreateFile() when creating the file
for the DICompileUnit. This addresses post-commit feedback for D55085. Without this patch, a main source file with an absolute paths may appear in different DIFiles, once with the absolute path and once with the common prefix between the absolute path and the current working directory. Differential Revision: https://reviews.llvm.org/D55519 llvm-svn: 348865
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud