aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2014-06-25 17:09:41 +0000
committerSerge Pavlov <sepavloff@gmail.com>2014-06-25 17:09:41 +0000
commita826147eef05d1d4fa0f3efdd1eeb4c71ae13b9d (patch)
tree4d955aea3d73adfaaa7fe5b3097fc1b8f603293f /clang/lib/Basic/VirtualFileSystem.cpp
parent9029bda8a31c6d2f908fd1d6e6e4d8615c8c76c7 (diff)
downloadllvm-a826147eef05d1d4fa0f3efdd1eeb4c71ae13b9d.zip
llvm-a826147eef05d1d4fa0f3efdd1eeb4c71ae13b9d.tar.gz
llvm-a826147eef05d1d4fa0f3efdd1eeb4c71ae13b9d.tar.bz2
Fix treatment of types defined in function prototype
Types defined in function prototype are diagnosed earlier in C++ compilation. They are put into declaration context where the prototype is introduced. Later on, when FunctionDecl object is created, these types are moved into the function context. This patch fixes PR19018 and PR18963. Differential Revision: http://reviews.llvm.org/D4145 llvm-svn: 211718
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions