]> granicus.if.org Git - clang/commit
Fix PR3612. We ensure that we add builtins to the GlobalDeclMap and
authorMike Stump <mrs@apple.com>
Fri, 27 Feb 2009 22:42:30 +0000 (22:42 +0000)
committerMike Stump <mrs@apple.com>
Fri, 27 Feb 2009 22:42:30 +0000 (22:42 +0000)
commitc136e6cf237711f9f1324637a0b2cdf6ae8e79e4
tree829943cdf8367d3d2461b1571d236fcab12f7fab
parent9bc77b2423e75b9361f597d6fa7c024a53e504cd
Fix PR3612.  We ensure that we add builtins to the GlobalDeclMap and
we ensure that things added to the module can be found even when they
are not in GlobalDeclMap.  The later is for increased flexibility,
should someone want to do something tricky like extern "Ada" in the
same module.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65657 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h