const FrontendInputFile &getCurrentInput() const {
return CurrentInput;
}
-
+
const StringRef getCurrentFile() const {
assert(!CurrentInput.isEmpty() && "No current file!");
return CurrentInput.getFile();
/// @name Supported Modes
/// @{
- /// \brief Is this action invoked on a model file?
+ /// \brief Is this action invoked on a model file?
///
/// Model files are incomplete translation units that relies on type
/// information from another translation unit. Check ParseModelFileAction for
const std::vector<std::string> &arg) = 0;
enum ActionType {
- Cmdline, //< Action is determined by the cc1 command-line
- ReplaceAction, //< Replace the main action
- AddBeforeMainAction, //< Execute the action before the main action
- AddAfterMainAction //< Execute the action after the main action
+ Cmdline, ///< Action is determined by the cc1 command-line
+ ReplaceAction, ///< Replace the main action
+ AddBeforeMainAction, ///< Execute the action before the main action
+ AddAfterMainAction ///< Execute the action after the main action
};
/// \brief Get the action type for this plugin
///