projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c03c2e8
)
Make function static that didn't need linkage.
author
Erich Keane
<erich.keane@intel.com>
Mon, 30 Sep 2019 21:24:04 +0000
(21:24 +0000)
committer
Erich Keane
<erich.keane@intel.com>
Mon, 30 Sep 2019 21:24:04 +0000
(21:24 +0000)
In r373247 I added a helper function, but neglected to make it static.
llvm-svn: 373268
clang/lib/AST/DeclCXX.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/DeclCXX.cpp
b/clang/lib/AST/DeclCXX.cpp
index
5f181fa
..
95b14e4
100644
(file)
--- a/
clang/lib/AST/DeclCXX.cpp
+++ b/
clang/lib/AST/DeclCXX.cpp
@@
-1399,7
+1399,7
@@
static bool allLookupResultsAreTheSame(const DeclContext::lookup_result &R) {
}
#endif
-NamedDecl* getLambdaCallOperatorHelper(const CXXRecordDecl &RD) {
+
static
NamedDecl* getLambdaCallOperatorHelper(const CXXRecordDecl &RD) {
if (!RD.isLambda()) return nullptr;
DeclarationName Name =
RD.getASTContext().DeclarationNames.getCXXOperatorName(OO_Call);