summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-09-03 14:33:09 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-09-03 14:33:09 +0000
commite892ccec0d3c3c471cc2d7feac41bdbf1e630502 (patch)
tree4de74742e83ce691b21c9a9627bb864096f293d9 /clang/lib/Sema/Sema.cpp
parent8a9f07626f3f8ea1c2a2ccc8825ba70a4e8b9272 (diff)
downloadbcm5719-llvm-e892ccec0d3c3c471cc2d7feac41bdbf1e630502.tar.gz
bcm5719-llvm-e892ccec0d3c3c471cc2d7feac41bdbf1e630502.zip
Revert "OpenMP: Data-sharing attributes analysis and clause 'shared'"
This reverts commit r189795. threadprivate_messages.cpp is faling on windows. llvm-svn: 189811
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
-rw-r--r--clang/lib/Sema/Sema.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp
index 71d726f6195..a3b1bfa1c22 100644
--- a/clang/lib/Sema/Sema.cpp
+++ b/clang/lib/Sema/Sema.cpp
@@ -90,8 +90,7 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer,
AccessCheckingSFINAE(false), InNonInstantiationSFINAEContext(false),
NonInstantiationEntries(0), ArgumentPackSubstitutionIndex(-1),
CurrentInstantiationScope(0), TyposCorrected(0),
- AnalysisWarnings(*this), VarDataSharingAttributesStack(0), CurScope(0),
- Ident_super(0), Ident___float128(0)
+ AnalysisWarnings(*this), CurScope(0), Ident_super(0), Ident___float128(0)
{
TUScope = 0;
@@ -114,9 +113,6 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer,
false, 0, false));
FunctionScopes.push_back(new FunctionScopeInfo(Diags));
-
- // Initilization of data sharing attributes stack for OpenMP
- InitDataSharingAttributesStack();
}
void Sema::Initialize() {
@@ -203,9 +199,6 @@ Sema::~Sema() {
// If Sema's ExternalSource is the multiplexer - we own it.
if (isMultiplexExternalSource)
delete ExternalSource;
-
- // Destroys data sharing attributes stack for OpenMP
- DestroyDataSharingAttributesStack();
}
/// makeUnavailableInSystemHeader - There is an error in the current
OpenPOWER on IntegriCloud