diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-20 05:45:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-20 05:45:14 +0000 |
commit | 8edea83d4d45d912191eac97b861309af6c74acd (patch) | |
tree | 9cae475201ca8e34f54255df1e6eb3a26f811d1d /lib/Sema/Sema.cpp | |
parent | 2bac0f6b3724734d7bb7bf8231bd8511cb49570f (diff) |
compared to the rest of the code in Sema::GetStdNamespace(),
looking up the "std" identifier is trivial. Just do it, particularly
since this is only done if the namespace hasn't already been looked up.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index 2b33bf4046..e1eb86c98f 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -103,7 +103,6 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer) KnownFunctionIDs[id_vsnprintf_chk] = &IT.get("__builtin___vsnprintf_chk"); KnownFunctionIDs[id_vprintf] = &IT.get("vprintf"); - Ident_StdNs = &IT.get("std"); Ident_TypeInfo = 0; StdNamespace = 0; |