aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-03-19 17:09:52 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-03-19 17:09:52 +0000
commit982a35eb1df71b10b721cfbf732a8fbf0d94ea7f (patch)
treec2e1b33114272fd212856549ecba502cf5646fc1 /clang/lib/CodeGen/CGDecl.cpp
parentcb16edeb4579daf2a409ab3145342aebe2bad70f (diff)
downloadllvm-982a35eb1df71b10b721cfbf732a8fbf0d94ea7f.zip
llvm-982a35eb1df71b10b721cfbf732a8fbf0d94ea7f.tar.gz
llvm-982a35eb1df71b10b721cfbf732a8fbf0d94ea7f.tar.bz2
[OPENMP]Remove unused parameter, NFC.
Parameter CodeGenModule &CGM is not required for CGOpenMPRuntime member functions, since class holds the reference to the CGM. llvm-svn: 356480
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r--clang/lib/CodeGen/CGDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index 80bdede..8a871a0 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -2574,5 +2574,5 @@ void CodeGenModule::EmitOMPDeclareMapper(const OMPDeclareMapperDecl *D,
}
void CodeGenModule::EmitOMPRequiresDecl(const OMPRequiresDecl *D) {
- getOpenMPRuntime().checkArchForUnifiedAddressing(*this, D);
+ getOpenMPRuntime().checkArchForUnifiedAddressing(D);
}