diff options
author | Nico Rieck <nico.rieck@gmail.com> | 2014-11-24 17:29:52 +0000 |
---|---|---|
committer | Nico Rieck <nico.rieck@gmail.com> | 2014-11-24 17:29:52 +0000 |
commit | e50e59a55a673f3cc96ae0ffa0f6a92a75052176 (patch) | |
tree | bf6330f55e253bc3a542e2a029b62435d53aac9b /clang/lib/Sema/SemaDeclCXX.cpp | |
parent | dfff5d22e6dd1046029625532c2de8f432c596cd (diff) | |
download | bcm5719-llvm-e50e59a55a673f3cc96ae0ffa0f6a92a75052176.tar.gz bcm5719-llvm-e50e59a55a673f3cc96ae0ffa0f6a92a75052176.zip |
Fix line endings
llvm-svn: 222666
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDeclCXX.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaDeclCXX.cpp b/clang/lib/Sema/SemaDeclCXX.cpp index ec625346e82..5ffe30883b3 100644 --- a/clang/lib/Sema/SemaDeclCXX.cpp +++ b/clang/lib/Sema/SemaDeclCXX.cpp @@ -7429,8 +7429,8 @@ Decl *Sema::ActOnUsingDirective(Scope *S, assert((isa<NamespaceDecl>(Named) || isa<NamespaceAliasDecl>(Named)) && "expected namespace decl"); - // The use of a nested name specifier may trigger deprecation warnings.
- DiagnoseUseOfDecl(Named, IdentLoc);
+ // The use of a nested name specifier may trigger deprecation warnings. + DiagnoseUseOfDecl(Named, IdentLoc); // C++ [namespace.udir]p1: // A using-directive specifies that the names in the nominated @@ -8545,7 +8545,7 @@ Decl *Sema::ActOnNamespaceAliasDef(Scope *S, SourceLocation NamespaceLoc, } } - // The use of a nested name specifier may trigger deprecation warnings.
+ // The use of a nested name specifier may trigger deprecation warnings. DiagnoseUseOfDecl(ND, IdentLoc); NamespaceAliasDecl *AliasDecl = |