diff options
author | Carlo Bertolli <cbertol@us.ibm.com> | 2015-06-02 16:35:41 -0400 |
---|---|---|
committer | Craig Griffiths <craig.griffiths@codethink.co.uk> | 2015-08-14 10:39:33 +0100 |
commit | f8b997e59867e19d06401f8c92718dd11a908987 (patch) | |
tree | f8f43f870e535e12beb65cb71efb79b393953498 /include/flang/AST/ASTContext.h | |
parent | 2bc1b74cfecb4aea98981935506448f13dec642f (diff) | |
download | flang-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.h | 4 |
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; |