llvm-project/clang/lib/Lex
Eli Friedman 5ba37d5282 Split isFromMainFile into two functions.
Basically, isInMainFile considers line markers, and isWrittenInMainFile
doesn't.  Distinguishing between the two is useful when dealing with
files which are preprocessed files or rewritten with -frewrite-includes
(so we don't, for example, print useless warnings).

llvm-svn: 188968
2013-08-22 00:27:10 +00:00
..
CMakeLists.txt clang/Lex: [CMake] Update CMakefiles since r169229. 2012-12-04 07:40:33 +00:00
HeaderMap.cpp Use only explicit bool conversion operator 2013-05-15 07:37:26 +00:00
HeaderSearch.cpp [Modules] If a module map resides in a system header directory, treat it as a system module. 2013-06-21 16:28:10 +00:00
Lexer.cpp ObjectiveC migrator: More work towards 2013-08-20 00:07:23 +00:00
LiteralSupport.cpp Revert r188863 which could propose wrong fixits for multibyte character literals. 2013-08-21 18:57:51 +00:00
MacroArgs.cpp [Preprocessor] For the MacroExpands preprocessor callback, also pass the MacroArgs object that provides information about 2013-05-03 22:31:32 +00:00
MacroInfo.cpp [preprocessor] Minor optimization following r178671. 2013-04-03 21:29:07 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ModuleMap.cpp Use the multiple argument form of path::append. 2013-06-28 16:25:46 +00:00
PPCaching.cpp [preprocessor] In Preprocessor::CachingLex() check whether there were more tokens 2012-04-04 02:57:01 +00:00
PPCallbacks.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
PPConditionalDirectiveRecord.cpp Add condition expression result to if and elif callbacks. 2013-07-18 00:00:36 +00:00
PPDirectives.cpp Split isFromMainFile into two functions. 2013-08-22 00:27:10 +00:00
PPExpressions.cpp Partially revert r186903. 2013-07-26 00:06:45 +00:00
PPLexerChange.cpp Introducing -Wheader-guard, a warning that checks header guards actually work 2013-06-12 21:20:57 +00:00
PPMacroExpansion.cpp DataFlowSanitizer; Clang changes. 2013-08-07 22:47:34 +00:00
PTHLexer.cpp Use llvm::sys::fs::UniqueID for windows and unix. 2013-08-01 21:42:11 +00:00
Pragma.cpp Added preproc callback for pragma directives. 2013-07-20 20:09:11 +00:00
PreprocessingRecord.cpp Add SourceRange to PPCallbacks::Defined callback. 2013-07-19 18:50:04 +00:00
Preprocessor.cpp Add option to disable module loading. 2013-08-05 20:26:17 +00:00
PreprocessorLexer.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
ScratchBuffer.cpp Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset. 2011-09-19 20:40:19 +00:00
TokenConcatenation.cpp Simplify logic for avoiding concatenation after numeric constants. 2013-02-08 22:30:31 +00:00
TokenLexer.cpp Use SmallVectorImpl& for function arguments instead of SmallVector. 2013-07-05 19:34:19 +00:00
UnicodeCharSets.h Use isCharInSet from llvm/Support/UnicodeCharRanges.h, added a test for double-width characters in FixIt-hints. 2013-08-09 06:35:06 +00:00