summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorVassil Vassilev <v.g.vassilev@gmail.com>2017-03-06 16:54:40 +0000
committerVassil Vassilev <v.g.vassilev@gmail.com>2017-03-06 16:54:40 +0000
commit3d54e831bc34ca4a31518bcab87a9be2452cbd18 (patch)
treeb887cc6dd49498e931033f35ed18d9e2ed1b88c9 /llvm/lib
parent79a9ecbe802cb42f1891693243464bc69b570d8d (diff)
downloadbcm5719-llvm-3d54e831bc34ca4a31518bcab87a9be2452cbd18.tar.gz
bcm5719-llvm-3d54e831bc34ca4a31518bcab87a9be2452cbd18.zip
[modules] Make GNUMode a normal language option to fix module compilation.
GNUMode shouldn't be a benign language option because it influences the resulting AST when checking for the existence of GNUMode-specific macro "linux" (e.g. by having code inside #ifdef linux). This patch marks it as a normal language option so it gets correctly passed to the compiler invocation for the used modules. The added test case illustrated this because it compiles without modules, but fails when using modules. Patch by Raphael Isemann (D30496)! llvm-svn: 297030
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud