http://llvm.org/bugs/show_bug.cgi?id=16574

            Bug ID: 16574
           Summary: FrontendAction::BeginSourceFile does not allow user to
                    specify Preprocessor or ASTContext prior to calling
                    method.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 10842
  --> http://llvm.org/bugs/attachment.cgi?id=10842&action=edit
Patch adding checks based on Clang SVN r185944

In FrontendAction::BeginSourceFile it checks whether the CompilerInstance has a
FileManager and a SourceManager prior to creating them, but does not check
whether the CompilerInstance has either a Preprocessor or an ASTContext before
creating them.

Attached is a patch which adds in a check for hasPreprocessor and hasASTContext
prior to creating them.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to