diff options
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; |