summaryrefslogtreecommitdiff
path: root/include/flang/AST/ASTContext.h
diff options
context:
space:
mode:
authorCarlo Bertolli <cbertol@us.ibm.com>2015-06-02 16:35:41 -0400
committerCraig Griffiths <craig.griffiths@codethink.co.uk>2015-08-14 10:39:33 +0100
commitf8b997e59867e19d06401f8c92718dd11a908987 (patch)
treef8f43f870e535e12beb65cb71efb79b393953498 /include/flang/AST/ASTContext.h
parent2bc1b74cfecb4aea98981935506448f13dec642f (diff)
downloadflang-f8b997e59867e19d06401f8c92718dd11a908987.tar.gz
Fix some warnings by either adding virtual destructors or deleting virtual specifier on non-re-implemented methods; re-order constructor initialization of instance variables. Add handling of nested do-loops with same target label by processing all nested do statements after the innermost one. Fix issue #15.
Diffstat (limited to 'include/flang/AST/ASTContext.h')
-rw-r--r--include/flang/AST/ASTContext.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/flang/AST/ASTContext.h b/include/flang/AST/ASTContext.h
index 61033575aa..cff497ca2b 100644
--- a/include/flang/AST/ASTContext.h
+++ b/include/flang/AST/ASTContext.h
@@ -88,9 +88,7 @@ public:
BumpAlloc.Deallocate((const void*) Ptr, size);
}
- LangOptions getLangOpts() const {
- return LanguageOptions;
- }
+ const LangOptions& getLangOpts() const { return LanguageOptions; }
// Builtin Types: [R404]
QualType VoidTy;