llvm-project/flang/lib
Tim Keith 2cc21cecf2 [flang] Change WhyNotModifiable to return optional
One overload of WhyNotModifiable returned an optional message while the
other returns a unique_ptr. Change the latter to be consistent with the
former and other message-returning functions in this file.

Also, reorder the if clauses to reduce the level of indentation.

Original-commit: flang-compiler/f18@864e9cfc7e
Reviewed-on: https://github.com/flang-compiler/f18/pull/1050
Tree-same-pre-rewrite: false
2020-03-09 17:25:12 -07:00
..
Common [flang] [LLVMify F18] Compiler module folders should have capitalised names (flang-compiler/f18#980) 2020-02-25 07:11:52 -08:00
Decimal [flang] Fix layout of 128-bit IEEE-754 floating-point values 2020-02-26 08:23:44 -08:00
Evaluate [flang] Fix for 'wrong constant folding of assumed-rank array' (flang-compiler/f18#1010) 2020-03-05 08:06:58 -08:00
Fir [flang] [LLVMify F18] Compiler module folders should have capitalised names (flang-compiler/f18#980) 2020-02-25 07:11:52 -08:00
Lower [flang] [LLVMify F18] Compiler module folders should have capitalised names (flang-compiler/f18#980) 2020-02-25 07:11:52 -08:00
Optimizer [flang] [LLVMify F18] Compiler module folders should have capitalised names (flang-compiler/f18#980) 2020-02-25 07:11:52 -08:00
Parser [flang] Fix misparsed structure constructor in data stmt 2020-02-25 17:13:56 -08:00
Semantics [flang] Change WhyNotModifiable to return optional 2020-03-09 17:25:12 -07:00
CMakeLists.txt [flang] [LLVMify F18] Compiler module folders should have capitalised names (flang-compiler/f18#980) 2020-02-25 07:11:52 -08:00