llvm-project/clang/docs
Kristof Umann 4962816e72 [analyzer] Fix an assertation failure for invalid sourcelocation, add a new debug checker
For a rather short code snippet, if debug.ReportStmts (added in this patch) was
enabled, a bug reporter visitor crashed:

struct h {
  operator int();
};

int k() {
  return h();
}

Ultimately, this originated from PathDiagnosticLocation::createMemberLoc, as it
didn't handle the case where it's MemberExpr typed parameter returned and
invalid SourceLocation for MemberExpr::getMemberLoc. The solution was to find
any related valid SourceLocaion, and Stmt::getBeginLoc happens to be just that.

Differential Revision: https://reviews.llvm.org/D58777

llvm-svn: 356161
2019-03-14 16:10:29 +00:00
..
CommandGuide Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
analyzer [analyzer] Fix an assertation failure for invalid sourcelocation, add a new debug checker 2019-03-14 16:10:29 +00:00
tools Portable Python script across Python version 2018-12-19 13:46:13 +00:00
AddressSanitizer.rst [ASan] Minor documentation fix: clarify static linking limitation. 2018-12-11 16:47:12 +00:00
AttributeReference.rst
AutomaticReferenceCounting.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
Block-ABI-Apple.rst [CodeGen][ObjC] Make copying and disposing of a non-escaping block 2018-07-20 17:10:32 +00:00
Block-ABI-Apple.txt Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
BlockLanguageSpec.rst
CMakeLists.txt docs: Fix Sphinx detection with out-of-tree builds 2017-05-09 01:42:33 +00:00
ClangCheck.rst [clang docs] Minor fix in ClangCheck.rst 2016-11-14 17:31:24 +00:00
ClangCommandLineReference.rst Fix some typos in the clang doc. 2019-01-01 12:51:14 +00:00
ClangFormat.rst clang-format-diff: add an example with hg 2019-01-01 12:32:08 +00:00
ClangFormatStyleOptions.rst [clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present 2019-03-13 08:26:39 +00:00
ClangPlugins.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
ClangStaticAnalyzer.rst [analyzer] Creating standard Sphinx documentation 2019-02-05 00:39:33 +00:00
ClangTools.rst Fix some sphinx doc errors. 2019-02-01 17:06:41 +00:00
ControlFlowIntegrity.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
ControlFlowIntegrityDesign.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
CrossCompilation.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
DataFlowSanitizer.rst
DataFlowSanitizerDesign.rst
DiagnosticsReference.rst fixup: sphinx warning 2019-01-10 19:26:35 +00:00
DriverArchitecture.png
DriverInternals.rst
ExternalClangExamples.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
FAQ.rst
HardwareAssistedAddressSanitizerDesign.rst [HWASAN] Updated HWASAN design document to better portray the chance of missing a bug. 2019-02-13 23:14:54 +00:00
HowToSetupToolingForLLVM.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
InternalsManual.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
IntroductionToTheClangAST.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
ItaniumMangleAbiTags.rst
JSONCompilationDatabase.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
LTOVisibility.rst Implement CFI for indirect calls via a member function pointer. 2018-06-26 02:15:47 +00:00
LanguageExtensions.rst Add a new builtin: __builtin_dynamic_object_size 2019-01-30 20:34:53 +00:00
LeakSanitizer.rst [docs] Update LeakSanitizer documentation to reflect OS X support 2017-09-13 19:40:10 +00:00
LibASTMatchers.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
LibASTMatchersReference.html [ASTImporter] Add support for importing ChooseExpr AST nodes. 2019-02-26 19:26:41 +00:00
LibASTMatchersTutorial.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
LibFormat.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
LibTooling.rst [build] Rename clang-headers to clang-resource-headers 2019-03-04 21:19:53 +00:00
MSVCCompatibility.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
Makefile.sphinx
MemorySanitizer.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
Modules.rst [Modules] Add platform and environment features to requires clause 2018-09-18 17:11:13 +00:00
ObjectiveCLiterals.rst
OpenMPSupport.rst [DOCS]Support for emission of the debug info for the Cuda devices, NFC. 2019-02-05 20:38:36 +00:00
PCHInternals.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
PCHLayout.graffle
PCHLayout.png
RAVFrontendAction.rst Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
README.txt
RefactoringEngine.rst Fix small nits in clang-refactor doc. 2017-10-10 09:00:56 +00:00
ReleaseNotes.rst [clang] Add install targets for API headers 2019-03-11 18:53:57 +00:00
SafeStack.rst [Documentation] Fix problem in docs/SafeStack.rst introduced in r351976. 2019-01-23 20:51:06 +00:00
SanitizerCoverage.rst Update SanitizerCoverage doc regarding the issue with pc-table and gc-sections. 2019-02-01 17:12:35 +00:00
SanitizerSpecialCaseList.rst Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
SanitizerStats.rst [docs] -fsanitize=cfi only allowed with -fvisibility= 2018-06-15 23:11:18 +00:00
ShadowCallStack.rst Delete x86_64 ShadowCallStack support 2019-03-07 18:56:36 +00:00
SourceBasedCodeCoverage.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ThinLTO.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
ThreadSafetyAnalysis.rst Correct the attribute spelling for guarded_var and pt_guarded_var. 2017-05-08 12:39:17 +00:00
ThreadSanitizer.rst [docs] Add some architectures into the list of supported ThreadSanitizer platforms 2019-03-05 21:10:42 +00:00
Toolchain.rst Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
Tooling.rst Update our URLs in clang doc to use https 2018-11-04 17:02:00 +00:00
UndefinedBehaviorSanitizer.rst [Documentation] Use HTTPS whenever possible 2019-01-23 20:39:07 +00:00
UsersManual.rst [PGO] Clang part of change for context-sensitive PGO (part1) 2019-03-04 20:21:31 +00:00
conf.py [analyzer] Creating standard Sphinx documentation 2019-02-05 00:39:33 +00:00
doxygen-mainpage.dox
doxygen.cfg.in Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
index.rst [analyzer] Creating standard Sphinx documentation 2019-02-05 00:39:33 +00:00
make.bat

README.txt

See llvm/docs/README.txt