aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/FrontendOptions.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-04-28Move functionality for handling module maps as inputs from the -emit-moduleRichard Smith1-6/+6
action to the general FrontendAction infrastructure. This permits applying -E, -ast-dump, -fsyntax-only, and so on to a module map compilation. (The -E form is not currently especially useful yet as there's no good way to take the output and use it to actually build a module.) In order to support this, -cc1 now accepts -x <lang>-module-map in all cases where it accepts -x <lang> for a language we can parse (not ir/ast). And for uniformity, we also accept -x <lang>-header for all such languages (we used to reject for cuda and renderscript), and -x <lang>-cpp-output for all such languages (we used to reject for c, cl, and renderscript). (None of these new alternatives are accepted by the driver yet, so no user-visible changes.) llvm-svn: 301610
2017-04-26Refactor frontend InputKind to prepare for treating module maps as a ↵Richard Smith1-18/+18
distinct kind of input. No functionality change intended. llvm-svn: 301442
2016-08-26C++ Modules TS: add frontend support for building pcm files from moduleRichard Smith1-0/+2
interface files. At the moment, all declarations (and no macros) are exported, and 'export' declarations are not supported yet. llvm-svn: 279794
2015-03-19Ensure that we still parse preprocessed CUDA files as CUDA when we useArtem Belevich1-0/+1
-save-temps option. Summary: Fixes PR22926. Review: http://reviews.llvm.org/D8383 llvm-svn: 232737
2013-06-22Remove duplicated case.Benjamin Kramer1-1/+0
llvm-svn: 184640
2013-03-27<rdar://problem/13509689> Introduce -module-file-info option that provides ↵Douglas Gregor1-1/+1
information about a particular module file. This option can be useful for end users who want to know why they ended up with a ton of different variants of the "std" module in their module cache. This problem should go away over time, as we reduce the need for module variants, but it will never go away entirely. llvm-svn: 178148
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner1-1/+1
LLVM.h imports them into the clang namespace. llvm-svn: 135852
2010-12-01Driver, Frontend: add CUDA language supportPeter Collingbourne1-0/+1
llvm-svn: 120544
2010-06-07Frontend: Add FrontendAction support for handling LLVM IR inputs.Daniel Dunbar1-0/+1
- These inputs follow an abbreviated execution path, but are still worth handling by FrontendAction so they reuse all the other clang -cc1 features. llvm-svn: 105582
2010-06-07Frontend: Lift InputKind enumeration to top level.Daniel Dunbar1-2/+1
llvm-svn: 105577
2009-11-17recognize .hpp as c++ (needed for ./configure'ing boost)Nuno Lopes1-1/+1
llvm-svn: 89100
2009-11-13Move input kind identification (-x) into FrontendOptions.Daniel Dunbar1-0/+31
llvm-svn: 87066